Uses of Class
org.marketcetera.util.unicode.SignatureCharset
-
Packages that use SignatureCharset 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 SignatureCharset in org.marketcetera.util.file
Methods in org.marketcetera.util.file with parameters of type SignatureCharset Modifier and Type Method Description static voidCopyCharsUnicodeUtils. copy(char[] data, String name, SignatureCharset requestedSignatureCharset)Copies an in-memory character array into the given location and using the given signature/charset.Constructors in org.marketcetera.util.file with parameters of type SignatureCharset Constructor Description WriterWrapper(File file, SignatureCharset requestedSignatureCharset)Creates a new wrapped writer that wraps the given regular file.WriterWrapper(String name, SignatureCharset requestedSignatureCharset)Creates a new wrapped writer that wraps: the regular file with the given name (data is appended to the file if the name is prefixed bySpecialNames.PREFIX_APPEND), or the standard output stream (if the name isSpecialNames.STANDARD_OUTPUT), or the standard error stream (if the name isSpecialNames.STANDARD_ERROR). A writer that can inject unicode BOMs is used as a proxy; that writer uses the given signature/charset. -
Uses of SignatureCharset in org.marketcetera.util.unicode
Fields in org.marketcetera.util.unicode declared as SignatureCharset Modifier and Type Field Description private SignatureCharsetUnicodeInputStreamReader. mRequestedSignatureCharsetprivate SignatureCharsetUnicodeOutputStreamWriter. mRequestedSignatureCharsetprivate SignatureCharsetUnicodeInputStreamReader. mSignatureCharsetprivate SignatureCharsetUnicodeOutputStreamWriter. mSignatureCharsetprivate SignatureCharset[]Serialization. mSignatureCharsetsMethods in org.marketcetera.util.unicode that return SignatureCharset Modifier and Type Method Description SignatureCharsetDecodingStrategy. getPrefixMatch(byte[] data)Checks whether any of the signatures among the signature/charset pairs within the receiver's serializations matches the header of the given byte array, and returns the matching pair.static SignatureCharsetSerialization. getPrefixMatch(Serialization[] candidates, byte[] data)Checks whether any of the signatures among the pairs of the given serializations matches the header of the given byte array, and returns the matching signature/charset pair.SignatureCharsetUnicodeInputStreamReader. getRequestedSignatureCharset()Returns the receiver's requested signature/charset.SignatureCharsetUnicodeOutputStreamWriter. getRequestedSignatureCharset()Returns the receiver's requested signature/charset.SignatureCharsetUnicodeInputStreamReader. getSignatureCharset()Returns the receiver's actual signature/charset (that is, the one in use to decode the stream).SignatureCharsetUnicodeOutputStreamWriter. getSignatureCharset()Returns the receiver's actual signature/charset (that is, the one in use to encode the stream).SignatureCharset[]Serialization. getSignatureCharsets()Returns the receiver's signature/charset pairs.static SignatureCharsetSignatureCharset. valueOf(String name)Returns the enum constant of this type with the specified name.static SignatureCharset[]SignatureCharset. 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 SignatureCharset Constructor Description Serialization(SignatureCharset signatureCharset)Creates a new serialization with only the given signature/charset pair.Serialization(SignatureCharset[] signatureCharsets)Creates a new serialization with the given signature/charset pairs.UnicodeFileReader(FileDescriptor fd, SignatureCharset requestedSignatureCharset)Creates a new reader using the given file descriptor and signature/charset, and theUnicodeInputStreamReader(InputStream, SignatureCharset)andFileInputStream(FileDescriptor)constructors.UnicodeFileReader(File file, SignatureCharset requestedSignatureCharset)Creates a new reader using the given file and signature/charset, and theUnicodeInputStreamReader(InputStream, SignatureCharset)andFileInputStream(File)constructors.UnicodeFileReader(String fileName, SignatureCharset requestedSignatureCharset)Creates a new reader using the given file name and signature/charset, and theUnicodeInputStreamReader(InputStream, SignatureCharset)andFileInputStream(String)constructors.UnicodeFileWriter(FileDescriptor fd, SignatureCharset requestedSignatureCharset)Creates a new writer using the given file descriptor and signature/charset, and theUnicodeOutputStreamWriter(OutputStream, SignatureCharset)andFileOutputStream(FileDescriptor)constructors.UnicodeFileWriter(File file, boolean append, SignatureCharset requestedSignatureCharset)Creates a new writer using the given file and signature/charset, and theUnicodeOutputStreamWriter(OutputStream, SignatureCharset)andFileOutputStream(File,boolean)constructors.UnicodeFileWriter(File file, SignatureCharset requestedSignatureCharset)Creates a new writer using the given file and signature/charset, and theUnicodeOutputStreamWriter(OutputStream, SignatureCharset)andFileOutputStream(File)constructors.UnicodeFileWriter(String fileName, boolean append, SignatureCharset requestedSignatureCharset)Creates a new writer using the given file name and signature/charset, and theUnicodeOutputStreamWriter(OutputStream, SignatureCharset)andFileOutputStream(String,boolean)constructors.UnicodeFileWriter(String fileName, SignatureCharset requestedSignatureCharset)Creates a new writer using the given file name and signature/charset, and theUnicodeOutputStreamWriter(OutputStream, SignatureCharset)andFileOutputStream(String)constructors.UnicodeInputStreamReader(InputStream stream, SignatureCharset requestedSignatureCharset)Creates a new reader over the given stream that normally assumes the given signature is present and its associated charset should be used.UnicodeOutputStreamWriter(OutputStream stream, SignatureCharset requestedSignatureCharset)Creates a new writer over the given stream that normally injects the given signature, and uses its associated charset for encoding.UnicodeOutputStreamWriter(OutputStream stream, SignatureCharset requestedSignatureCharset, boolean writeSignature)Creates a new writer over the given stream that normally injects the given signature, and uses its associated charset for encoding.
-