Interface CPGFile

All Superinterfaces:
FormatFile
All Known Implementing Classes:
DefaultCPGFile

public interface CPGFile extends FormatFile
  • Field Details

  • Method Details

    • getCharsetName

      String getCharsetName()
    • setCharsetName

      void setCharsetName(String charsetName)
    • toCPG

      int toCPG(String charsetName)
      Returns the code page corresponding to the provided charset name
      Parameters:
      charsetName -
      Returns:
      The code page, or 0x00 if no equivalent code page was found for the provided charsetName
    • toCPGName

      String toCPGName(String charsetName)
    • toCharsetName

      String toCharsetName(String codePageName)
    • toCharsetName

      String toCharsetName(int codePage)
      Gets the Java NIO charset name equivalent to the provided code page. Gets null if the provided code page is not recognised as a valid code
      Parameters:
      codePage -
      Returns: