|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DecodingStrategy | |
|---|---|
| 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 | |
|---|---|
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 long |
CopyCharsUnicodeUtils.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. |
static long |
CopyCharsUnicodeUtils.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. |
| Constructors in org.marketcetera.util.file with parameters of type DecodingStrategy | |
|---|---|
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 is SpecialNames.STANDARD_INPUT). |
|
| Uses of DecodingStrategy in org.marketcetera.util.unicode |
|---|
| Methods in org.marketcetera.util.unicode that return DecodingStrategy | |
|---|---|
DecodingStrategy |
UnicodeInputStreamReader.getDecodingStrategy()
Returns the receiver's decoding strategy. |
static DecodingStrategy |
DecodingStrategy.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 | |
|---|---|
UnicodeFileReader(File file,
DecodingStrategy decodingStrategy)
Creates a new reader using the given file and decoding strategy, and the UnicodeInputStreamReader.UnicodeInputStreamReader(InputStream,
DecodingStrategy) and FileInputStream.FileInputStream(File) constructors. |
|
UnicodeFileReader(FileDescriptor fd,
DecodingStrategy decodingStrategy)
Creates a new reader using the given file descriptor and decoding strategy, the UnicodeInputStreamReader.UnicodeInputStreamReader(InputStream,
DecodingStrategy) and FileInputStream.FileInputStream(FileDescriptor) constructors. |
|
UnicodeFileReader(String fileName,
DecodingStrategy decodingStrategy)
Creates a new reader using the given file name and decoding strategy, and the UnicodeInputStreamReader.UnicodeInputStreamReader(InputStream,
DecodingStrategy) and FileInputStream.FileInputStream(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. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||