Uses of Class
org.marketcetera.util.unicode.DecodingStrategy
-
Packages that use DecodingStrategy Package Description org.marketcetera.util.file Miscellaneous utilities for file management.org.marketcetera.util.unicode Unicode en/decoding with BOMs, including I/O stream support. -
-
Uses of DecodingStrategy in org.marketcetera.util.file
Methods in org.marketcetera.util.file with parameters of type DecodingStrategy Modifier and Type Method Description static char[]CopyCharsUnicodeUtils. copy(String name, DecodingStrategy decodingStrategy)Copies the character stream at the given location (and interpreted using the given strategy) into memory, returning a character array.static longCopyCharsUnicodeUtils. copy(String in, DecodingStrategy decodingStrategy, Writer out, boolean skipClose)Copies a character stream from the given location (and interpreted using the given strategy) to the given sink.static longCopyCharsUnicodeUtils. copy(String in, DecodingStrategy decodingStrategy, String out)Copies a character stream from one given location (and interpreted using the given strategy) to another, attempting to retain signature/charset information.Constructors in org.marketcetera.util.file with parameters of type DecodingStrategy Constructor Description ReaderWrapper(File file, DecodingStrategy decodingStrategy)Creates a new wrapped reader that wraps the given regular file.ReaderWrapper(String name, DecodingStrategy decodingStrategy)Creates a new wrapped reader that wraps the regular file with the given name, or the standard input stream (if the name isSpecialNames.STANDARD_INPUT). -
Uses of DecodingStrategy in org.marketcetera.util.unicode
Fields in org.marketcetera.util.unicode declared as DecodingStrategy Modifier and Type Field Description private DecodingStrategyUnicodeInputStreamReader. mDecodingStrategyMethods in org.marketcetera.util.unicode that return DecodingStrategy Modifier and Type Method Description DecodingStrategyUnicodeInputStreamReader. getDecodingStrategy()Returns the receiver's decoding strategy.static DecodingStrategyDecodingStrategy. valueOf(String name)Returns the enum constant of this type with the specified name.static DecodingStrategy[]DecodingStrategy. values()Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.marketcetera.util.unicode with parameters of type DecodingStrategy Constructor Description UnicodeFileReader(FileDescriptor fd, DecodingStrategy decodingStrategy)Creates a new reader using the given file descriptor and decoding strategy, theUnicodeInputStreamReader(InputStream, DecodingStrategy)andFileInputStream(FileDescriptor)constructors.UnicodeFileReader(File file, DecodingStrategy decodingStrategy)Creates a new reader using the given file and decoding strategy, and theUnicodeInputStreamReader(InputStream, DecodingStrategy)andFileInputStream(File)constructors.UnicodeFileReader(String fileName, DecodingStrategy decodingStrategy)Creates a new reader using the given file name and decoding strategy, and theUnicodeInputStreamReader(InputStream, DecodingStrategy)andFileInputStream(String)constructors.UnicodeInputStreamReader(InputStream stream, DecodingStrategy decodingStrategy)Creates a new reader over the given stream that normally uses the charset associated with a matching signature among those of the given decoding strategy.
-