Deprecated List (ZXing 3.5.2 API)
Description: deprecated elements

# Deprecated API

## Contents

- Classes
- Methods
- Enum Constants

- Deprecated Classes
  Class
  Description
  com.google.zxing.client.j2se.HtmlAssetTranslator
  without replacement since 3.4.2
  com.google.zxing.client.j2se.StringsResourceTranslator
  without replacement since 3.4.2
  com.google.zxing.common.detector.MonochromeRectangleDetector
  without replacement since 3.3.0

- Deprecated Methods
  Method
  Description
  com.google.zxing.client.j2se.MatrixToImageWriter.writeToFile(BitMatrix, String, File)
  use `MatrixToImageWriter.writeToPath(BitMatrix, String, Path)`
  com.google.zxing.client.j2se.MatrixToImageWriter.writeToFile(BitMatrix, String, File, MatrixToImageConfig)
  use `MatrixToImageWriter.writeToPath(BitMatrix, String, Path, MatrixToImageConfig)`
  com.google.zxing.client.result.CalendarParsedResult.getEnd()
  use `CalendarParsedResult.getEndTimestamp()`
  com.google.zxing.client.result.CalendarParsedResult.getStart()
  use `CalendarParsedResult.getStartTimestamp()`
  com.google.zxing.client.result.EmailAddressParsedResult.getEmailAddress()
  use `EmailAddressParsedResult.getTos()`
  com.google.zxing.client.result.EmailAddressParsedResult.getMailtoURI()
  without replacement
  com.google.zxing.client.result.URIParsedResult.isPossiblyMaliciousURI()
  see `URIResultParser.isPossiblyMaliciousURI(String)`
  com.google.zxing.common.BitMatrix.toString(String, String, String)
  call `BitMatrix.toString(String,String)` only, which uses \n line separator always
  com.google.zxing.oned.Code93Writer.appendPattern(boolean[], int, int[], boolean)
  without replacement; intended as an internal-only method
  com.google.zxing.oned.rss.AbstractRSSReader.count(int[])
  call `MathUtils.sum(int[])`
  com.google.zxing.pdf417.PDF417Common.getBitCountSum(int[])
  call `MathUtils.sum(int[])`
  com.google.zxing.pdf417.PDF417ResultMetadata.getOptionalData()
  use dedicated already parsed fields
  com.google.zxing.pdf417.PDF417ResultMetadata.setOptionalData(int[])
  parse and use new fields
  com.google.zxing.qrcode.detector.FinderPatternFinder.clearCounts(int[])
  com.google.zxing.qrcode.detector.FinderPatternFinder.handlePossibleCenter(int[], int, int, boolean)
  only exists for backwards compatibility
  com.google.zxing.qrcode.detector.FinderPatternFinder.shiftCounts2(int[])

- Deprecated Enum Constants
  Enum Constant
  Description
  com.google.zxing.EncodeHintType.MAX_SIZE
  without replacement
  com.google.zxing.EncodeHintType.MIN_SIZE
  use width/height params in `DataMatrixWriter.encode(String, BarcodeFormat, int, int)`