Uses of Class
org.marketcetera.util.unicode.SignatureCharset

Packages that use SignatureCharset
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
static void CopyCharsUnicodeUtils.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
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 by SpecialNames.PREFIX_APPEND), or the standard output stream (if the name is SpecialNames.STANDARD_OUTPUT), or the standard error stream (if the name is SpecialNames.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
 

Methods in org.marketcetera.util.unicode that return SignatureCharset
 SignatureCharset DecodingStrategy.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 SignatureCharset Serialization.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.
 SignatureCharset UnicodeOutputStreamWriter.getRequestedSignatureCharset()
          Returns the receiver's requested signature/charset.
 SignatureCharset UnicodeInputStreamReader.getRequestedSignatureCharset()
          Returns the receiver's requested signature/charset.
 SignatureCharset UnicodeOutputStreamWriter.getSignatureCharset()
          Returns the receiver's actual signature/charset (that is, the one in use to encode the stream).
 SignatureCharset UnicodeInputStreamReader.getSignatureCharset()
          Returns the receiver's actual signature/charset (that is, the one in use to decode the stream).
 SignatureCharset[] Serialization.getSignatureCharsets()
          Returns the receiver's signature/charset pairs.
static SignatureCharset SignatureCharset.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
UnicodeFileReader(FileDescriptor fd, SignatureCharset requestedSignatureCharset)
          Creates a new reader using the given file descriptor and signature/charset, and the UnicodeInputStreamReader.UnicodeInputStreamReader(InputStream, SignatureCharset) and FileInputStream.FileInputStream(FileDescriptor) constructors.
UnicodeFileReader(File file, SignatureCharset requestedSignatureCharset)
          Creates a new reader using the given file and signature/charset, and the UnicodeInputStreamReader.UnicodeInputStreamReader(InputStream, SignatureCharset) and FileInputStream.FileInputStream(File) constructors.
UnicodeFileReader(String fileName, SignatureCharset requestedSignatureCharset)
          Creates a new reader using the given file name and signature/charset, and the UnicodeInputStreamReader.UnicodeInputStreamReader(InputStream, SignatureCharset) and FileInputStream.FileInputStream(String) constructors.
UnicodeFileWriter(File file, boolean append, SignatureCharset requestedSignatureCharset)
          Creates a new writer using the given file and signature/charset, and the UnicodeOutputStreamWriter.UnicodeOutputStreamWriter(OutputStream, SignatureCharset) and FileOutputStream.FileOutputStream(File,boolean) constructors.
UnicodeFileWriter(FileDescriptor fd, SignatureCharset requestedSignatureCharset)
          Creates a new writer using the given file descriptor and signature/charset, and the UnicodeOutputStreamWriter.UnicodeOutputStreamWriter(OutputStream, SignatureCharset) and FileOutputStream.FileOutputStream(FileDescriptor) constructors.
UnicodeFileWriter(File file, SignatureCharset requestedSignatureCharset)
          Creates a new writer using the given file and signature/charset, and the UnicodeOutputStreamWriter.UnicodeOutputStreamWriter(OutputStream, SignatureCharset) and FileOutputStream.FileOutputStream(File) constructors.
UnicodeFileWriter(String fileName, boolean append, SignatureCharset requestedSignatureCharset)
          Creates a new writer using the given file name and signature/charset, and the UnicodeOutputStreamWriter.UnicodeOutputStreamWriter(OutputStream, SignatureCharset) and FileOutputStream.FileOutputStream(String,boolean) constructors.
UnicodeFileWriter(String fileName, SignatureCharset requestedSignatureCharset)
          Creates a new writer using the given file name and signature/charset, and the UnicodeOutputStreamWriter.UnicodeOutputStreamWriter(OutputStream, SignatureCharset) and FileOutputStream.FileOutputStream(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.
 



Copyright © 2012. All Rights Reserved.