Package org.gvsig.basicformats
Interface CPGFile
- All Superinterfaces:
FormatFile
- All Known Implementing Classes:
DefaultCPGFile
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCharsetName(String charsetName) toCharsetName(int codePage) Gets the Java NIO charset name equivalent to the provided code page.toCharsetName(String codePageName) intReturns the code page corresponding to the provided charset nameMethods inherited from interface org.gvsig.basicformats.FormatFile
getFile, getFile, read, write, writeQuietly
-
Field Details
-
FILE_EXTENSION
- See Also:
-
-
Method Details
-
getCharsetName
String getCharsetName() -
setCharsetName
-
toCPG
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
-
toCharsetName
-
toCharsetName
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:
-