Index

A B C D E F G H I L M N P R S T V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(File, String) - Method in class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
This method implements the java.io.FilenameFilter interface.
asInputStream() - Method in class com.twelvemonkeys.io.RandomAccessStream
Returns an input view of this RandomAccessStream.
asOutputStream() - Method in class com.twelvemonkeys.io.RandomAccessStream
Returns an output view of this RandomAccessStream.
available() - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 
available() - Method in class com.twelvemonkeys.io.enc.DecoderStream
 
available() - Method in class com.twelvemonkeys.io.FileSeekableStream
 
available() - Method in class com.twelvemonkeys.io.NullInputStream
This implementation returns 0, always.
available() - Method in class com.twelvemonkeys.io.SubStream
 

B

bareMIME(String) - Static method in class com.twelvemonkeys.net.MIMEUtil
Removes any charset or extra info from the mime-type string (anything after a semicolon, ;, inclusive).
Base64Decoder - Class in com.twelvemonkeys.io.enc
Decoder implementation for standard base64 encoding.
Base64Decoder() - Constructor for class com.twelvemonkeys.io.enc.Base64Decoder
 
Base64Encoder - Class in com.twelvemonkeys.io.enc
Encoder implementation for standard base64 encoding.
Base64Encoder() - Constructor for class com.twelvemonkeys.io.enc.Base64Encoder
 
BUF_SIZE - Static variable in class com.twelvemonkeys.io.FileUtil
The size of the buffer used for copying
bytesWritten - Variable in class com.twelvemonkeys.io.LittleEndianDataOutputStream
The number of bytes written so far to the little endian output stream.

C

canRead(DataInput) - Static method in class com.twelvemonkeys.io.ole2.CompoundDocument
 
checkOpen() - Method in class com.twelvemonkeys.io.SeekableInputStream
 
checkOpen() - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
close() - Method in class com.twelvemonkeys.io.CompoundReader
 
close() - Method in class com.twelvemonkeys.io.enc.EncoderStream
 
close() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
close() - Method in class com.twelvemonkeys.io.ole2.CompoundDocument
This method will close the underlying RandomAccessFile if any, but will leave any stream created outside the document open.
close() - Method in interface com.twelvemonkeys.io.Seekable
Closes the stream.
close() - Method in class com.twelvemonkeys.io.SeekableInputStream
 
close() - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
close() - Method in class com.twelvemonkeys.io.StringArrayReader
 
close() - Method in class com.twelvemonkeys.io.SubStream
Marks this stream as closed.
close() - Method in class com.twelvemonkeys.io.WriterOutputStream
 
close(InputStream) - Static method in class com.twelvemonkeys.io.FileUtil
Tries to close the given stream.
close(OutputStream) - Static method in class com.twelvemonkeys.io.FileUtil
Tries to close the given stream.
closeImpl() - Method in class com.twelvemonkeys.io.MemoryCacheSeekableStream
 
closeImpl() - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 
closeImpl() - Method in class com.twelvemonkeys.io.FileSeekableStream
 
closeImpl() - Method in class com.twelvemonkeys.io.SeekableInputStream
 
closeImpl() - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
com.twelvemonkeys.io - package com.twelvemonkeys.io
 
com.twelvemonkeys.io.enc - package com.twelvemonkeys.io.enc
Contains customized stream classes, that can read or write compressed data on the fly, along with encoders and decoders for popular stream formats, such as Base64, ZIP (deflate), LZW, PackBits etc..
com.twelvemonkeys.io.ole2 - package com.twelvemonkeys.io.ole2
Contains classes for reading the contents of the Microsoft OLE 2 compound document format.
com.twelvemonkeys.net - package com.twelvemonkeys.net
 
com.twelvemonkeys.xml - package com.twelvemonkeys.xml
 
compareTo(Entry) - Method in class com.twelvemonkeys.io.ole2.Entry
 
CompoundDocument - Class in com.twelvemonkeys.io.ole2
Represents a read-only OLE2 compound document.
CompoundDocument(File) - Constructor for class com.twelvemonkeys.io.ole2.CompoundDocument
Creates a (for now) read only CompoundDocument.
CompoundDocument(InputStream) - Constructor for class com.twelvemonkeys.io.ole2.CompoundDocument
Creates a read only CompoundDocument.
CompoundDocument(ImageInputStream) - Constructor for class com.twelvemonkeys.io.ole2.CompoundDocument
Creates a read only CompoundDocument.
CompoundReader - Class in com.twelvemonkeys.io
A Reader implementation that can read from multiple sources.
CompoundReader(Iterator<Reader>) - Constructor for class com.twelvemonkeys.io.CompoundReader
Create a new compound reader.
copy(File, File) - Static method in class com.twelvemonkeys.io.FileUtil
Copies the fromFile to the toFile location.
copy(File, File, boolean) - Static method in class com.twelvemonkeys.io.FileUtil
Copies the fromFile to the toFile location.
copy(InputStream, OutputStream) - Static method in class com.twelvemonkeys.io.FileUtil
Copies all data from one stream to another.
copy(String, String) - Static method in class com.twelvemonkeys.io.FileUtil
Copies the fromFile to the toFile location.
copy(String, String, boolean) - Static method in class com.twelvemonkeys.io.FileUtil
Copies the fromFile to the toFile location.
CorruptDocumentException - Exception in com.twelvemonkeys.io.ole2
Thrown when an OLE 2 compound document is considered corrupt.
CorruptDocumentException() - Constructor for exception com.twelvemonkeys.io.ole2.CorruptDocumentException
 
CorruptDocumentException(String) - Constructor for exception com.twelvemonkeys.io.ole2.CorruptDocumentException
 
CorruptDocumentException(Throwable) - Constructor for exception com.twelvemonkeys.io.ole2.CorruptDocumentException
 
created() - Method in class com.twelvemonkeys.io.ole2.Entry
Returns the time that this entry was created.
createInputStream() - Method in class com.twelvemonkeys.io.FastByteArrayOutputStream
Creates a ByteArrayInputStream that reads directly from this FastByteArrayOutputStream's byte buffer.

D

decode(InputStream, ByteBuffer) - Method in class com.twelvemonkeys.io.enc.Base64Decoder
 
decode(InputStream, ByteBuffer) - Method in interface com.twelvemonkeys.io.enc.Decoder
Decodes up to buffer.length bytes from the given input stream, into the given buffer.
decode(InputStream, ByteBuffer) - Method in class com.twelvemonkeys.io.enc.PackBitsDecoder
Decodes bytes from the given input stream, to the given buffer.
decodeAtom(InputStream, ByteBuffer, int) - Method in class com.twelvemonkeys.io.enc.Base64Decoder
 
DecodeException - Exception in com.twelvemonkeys.io.enc
Thrown by Decoders when encoded data can not be decoded.
DecodeException(String) - Constructor for exception com.twelvemonkeys.io.enc.DecodeException
 
DecodeException(String, Throwable) - Constructor for exception com.twelvemonkeys.io.enc.DecodeException
 
DecodeException(Throwable) - Constructor for exception com.twelvemonkeys.io.enc.DecodeException
 
decoder - Variable in class com.twelvemonkeys.io.WriterOutputStream
 
Decoder - Interface in com.twelvemonkeys.io.enc
Interface for decoders.
DecoderStream - Class in com.twelvemonkeys.io.enc
An InputStream that provides on-the-fly decoding from an underlying stream.
DecoderStream(InputStream, Decoder) - Constructor for class com.twelvemonkeys.io.enc.DecoderStream
Creates a new decoder stream and chains it to the input stream specified by the stream argument.
DecoderStream(InputStream, Decoder, int) - Constructor for class com.twelvemonkeys.io.enc.DecoderStream
Creates a new decoder stream and chains it to the input stream specified by the stream argument.
delete(File) - Static method in class com.twelvemonkeys.io.FileUtil
Deletes the specified file.
delete(File, boolean) - Static method in class com.twelvemonkeys.io.FileUtil
Deletes the specified file.
delete(String) - Static method in class com.twelvemonkeys.io.FileUtil
Deletes the specified file.
delete(String, boolean) - Static method in class com.twelvemonkeys.io.FileUtil
Deletes the specified file.
DOMSerializer - Class in com.twelvemonkeys.xml
DOMImplementationLS backed implementation.
DOMSerializer(OutputStream, String) - Constructor for class com.twelvemonkeys.xml.DOMSerializer
Creates a serializer using the given byte stream and encoding.
DOMSerializer(Writer) - Constructor for class com.twelvemonkeys.xml.DOMSerializer
Creates a serializer using the given character stream and encoding.

E

encode(OutputStream, ByteBuffer) - Method in class com.twelvemonkeys.io.enc.Base64Encoder
 
encode(OutputStream, ByteBuffer) - Method in interface com.twelvemonkeys.io.enc.Encoder
Encodes up to buffer.remaining() bytes into the given input stream, from the given buffer.
encode(OutputStream, ByteBuffer) - Method in class com.twelvemonkeys.io.enc.PackBitsEncoder
 
Encoder - Interface in com.twelvemonkeys.io.enc
Interface for encoders.
EncoderStream - Class in com.twelvemonkeys.io.enc
An OutputStream that provides on-the-fly encoding to an underlying stream.
EncoderStream(OutputStream, Encoder) - Constructor for class com.twelvemonkeys.io.enc.EncoderStream
Creates an output stream filter built on top of the specified underlying output stream.
EncoderStream(OutputStream, Encoder, boolean) - Constructor for class com.twelvemonkeys.io.enc.EncoderStream
Creates an output stream filter built on top of the specified underlying output stream.
ensureOpen() - Method in class com.twelvemonkeys.io.CompoundReader
Check to make sure that the stream has not been closed
ensureOpen() - Method in class com.twelvemonkeys.io.StringArrayReader
Check to make sure that the stream has not been closed
Entry - Class in com.twelvemonkeys.io.ole2
Represents an OLE 2 compound document entry.
EPOCH_OFFSET - Static variable in class com.twelvemonkeys.io.ole2.CompoundDocument
The epoch offset of CompoundDocument time stamps
equals(Object) - Method in class com.twelvemonkeys.io.ole2.Entry
 

F

FastByteArrayOutputStream - Class in com.twelvemonkeys.io
An unsynchronized ByteArrayOutputStream implementation.
FastByteArrayOutputStream(byte[]) - Constructor for class com.twelvemonkeys.io.FastByteArrayOutputStream
Creates a ByteArrayOutputStream with the given initial content.
FastByteArrayOutputStream(int) - Constructor for class com.twelvemonkeys.io.FastByteArrayOutputStream
Creates a ByteArrayOutputStream with the given initial buffer size.
FileCacheSeekableStream - Class in com.twelvemonkeys.io
A SeekableInputStream implementation that caches data in a temporary File.
FileCacheSeekableStream(InputStream) - Constructor for class com.twelvemonkeys.io.FileCacheSeekableStream
Creates a FileCacheSeekableStream reading from the given InputStream.
FileCacheSeekableStream(InputStream, String) - Constructor for class com.twelvemonkeys.io.FileCacheSeekableStream
Creates a FileCacheSeekableStream reading from the given InputStream.
FileCacheSeekableStream(InputStream, String, File) - Constructor for class com.twelvemonkeys.io.FileCacheSeekableStream
Creates a FileCacheSeekableStream reading from the given InputStream.
FilenameMaskFilter - Class in com.twelvemonkeys.io
Deprecated. 
FilenameMaskFilter() - Constructor for class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
Creates a FilenameMaskFilter
FilenameMaskFilter(String) - Constructor for class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
Creates a FilenameMaskFilter
FilenameMaskFilter(String[]) - Constructor for class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
Creates a FilenameMaskFilter
FilenameMaskFilter(String[], boolean) - Constructor for class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
Creates a FilenameMaskFilter
FilenameMaskFilter(String, boolean) - Constructor for class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
Creates a FilenameMaskFilter
FileSeekableStream - Class in com.twelvemonkeys.io
A SeekableInputStream implementation that uses random access directly to a File.
FileSeekableStream(File) - Constructor for class com.twelvemonkeys.io.FileSeekableStream
Creates a FileSeekableStream that reads from the given File.
FileSeekableStream(RandomAccessFile) - Constructor for class com.twelvemonkeys.io.FileSeekableStream
Creates a FileSeekableStream that reads from the given file.
FileUtil - Class in com.twelvemonkeys.io
A utility class with some useful file and i/o related methods.
finalize() - Method in class com.twelvemonkeys.io.SeekableInputStream
Finalizes this object prior to garbage collection.
finalLock - Variable in class com.twelvemonkeys.io.CompoundReader
 
finalLock - Variable in class com.twelvemonkeys.io.StringArrayReader
 
flush() - Method in class com.twelvemonkeys.io.enc.EncoderStream
 
flush() - Method in interface com.twelvemonkeys.io.Seekable
Discards the initial position of the stream prior to the current stream position.
flush() - Method in class com.twelvemonkeys.io.SeekableInputStream
 
flush() - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
flush() - Method in class com.twelvemonkeys.io.WriterOutputStream
 
flushBefore(long) - Method in interface com.twelvemonkeys.io.Seekable
Discards the initial portion of the stream prior to the indicated postion.
flushBefore(long) - Method in class com.twelvemonkeys.io.SeekableInputStream
 
flushBefore(long) - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
flushBeforeImpl(long) - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 
flushBeforeImpl(long) - Method in class com.twelvemonkeys.io.FileSeekableStream
Does nothing, as we don't really do any caching here.
flushBeforeImpl(long) - Method in class com.twelvemonkeys.io.SeekableInputStream
Discards the initial portion of the stream prior to the indicated postion.
flushBeforeImpl(long) - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
formatHTTPDate(long) - Static method in class com.twelvemonkeys.net.HTTPUtil
Formats the time to a HTTP date, using the RFC 1123 format, as described in RFC 2616 (HTTP/1.1), sec.
formatHTTPDate(Date) - Static method in class com.twelvemonkeys.net.HTTPUtil
Formats the time to a HTTP date, using the RFC 1123 format, as described in RFC 2616 (HTTP/1.1), sec.

G

getBasename(File) - Static method in class com.twelvemonkeys.io.FileUtil
Gets the file name of the given file, without the extension (type).
getBasename(String) - Static method in class com.twelvemonkeys.io.FileUtil
Gets the file name of the given file, without the extension (type).
getBasename0(String) - Static method in class com.twelvemonkeys.io.FileUtil
 
getCache() - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 
getChannel() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
getChildEntries() - Method in class com.twelvemonkeys.io.ole2.Entry
Returns the children of this Entry.
getChildEntry(String) - Method in class com.twelvemonkeys.io.ole2.Entry
Returns the child of this Entry with the given name.
getDirectoryname(String) - Static method in class com.twelvemonkeys.io.FileUtil
Extracts the directory path without the filename, from a complete filename path.
getDirectoryname(String, char) - Static method in class com.twelvemonkeys.io.FileUtil
Extracts the directory path without the filename, from a complete filename path.
getExtension(File) - Static method in class com.twelvemonkeys.io.FileUtil
Gets the file (type) extension of the given file.
getExtension(String) - Static method in class com.twelvemonkeys.io.FileUtil
Gets the file (type) extension of the given file.
getExtension(String) - Static method in class com.twelvemonkeys.net.MIMEUtil
Returns the default file extension for the given MIME type.
getExtensionMappings() - Static method in class com.twelvemonkeys.net.MIMEUtil
Returns an unmodifiabale Map view of the MIME to extension mapping, to use as the default mapping in client applications.
getExtensions(String) - Static method in class com.twelvemonkeys.net.MIMEUtil
Returns all file extension for the given MIME type.
getFD() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
getFilename(String) - Static method in class com.twelvemonkeys.io.FileUtil
Extracts the filename of a complete filename path.
getFilename(String, char) - Static method in class com.twelvemonkeys.io.FileUtil
Extracts the filename of a complete filename path.
getFilenameMasksForExclusion() - Method in class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
 
getFilenameMasksForInclusion() - Method in class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
 
getFilePointer() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
getFlushedPosition() - Method in interface com.twelvemonkeys.io.Seekable
Returns the earliest position in the stream to which seeking may be performed.
getFlushedPosition() - Method in class com.twelvemonkeys.io.SeekableInputStream
 
getFlushedPosition() - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
getFreeSpace(File) - Static method in class com.twelvemonkeys.io.FileUtil
 
getInputStream() - Method in class com.twelvemonkeys.io.ole2.Entry
Returns the InputStream for this Entry
getMIMEType(String) - Static method in class com.twelvemonkeys.net.MIMEUtil
Returns the default MIME type for the given file extension.
getMIMETypeMappings() - Static method in class com.twelvemonkeys.net.MIMEUtil
Returns an unmodifiabale Map view of the extension to MIME mapping, to use as the default mapping in client applications.
getMIMETypes(String) - Static method in class com.twelvemonkeys.net.MIMEUtil
Returns all MIME types for the given file extension.
getName() - Method in class com.twelvemonkeys.io.ole2.Entry
Returns the name of this Entry
getParentEntry() - Method in class com.twelvemonkeys.io.ole2.Entry
Return the parent of this Entry
getPrettyPrint() - Method in class com.twelvemonkeys.xml.DOMSerializer
 
getRootEntry() - Method in class com.twelvemonkeys.io.ole2.CompoundDocument
 
getStreamPosition() - Method in interface com.twelvemonkeys.io.Seekable
Returns the current byte position of the stream.
getStreamPosition() - Method in class com.twelvemonkeys.io.SeekableInputStream
 
getStreamPosition() - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
getTempDir() - Static method in class com.twelvemonkeys.io.FileUtil
Gets the default temp directory for the system.
getTempDirFile() - Static method in class com.twelvemonkeys.io.FileUtil
Gets the default temp directory for the system as a File.
getTotalSpace(File) - Static method in class com.twelvemonkeys.io.FileUtil
 
getUsableSpace(File) - Static method in class com.twelvemonkeys.io.FileUtil
 

H

hashCode() - Method in class com.twelvemonkeys.io.ole2.Entry
 
HEADER_SIZE - Static variable in class com.twelvemonkeys.io.ole2.CompoundDocument
 
HTTPUtil - Class in com.twelvemonkeys.net
HTTPUtil

I

indentation(String) - Method in class com.twelvemonkeys.xml.XMLSerializer
 
isCached() - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 
isCached() - Method in class com.twelvemonkeys.io.FileSeekableStream
 
isCached() - Method in interface com.twelvemonkeys.io.Seekable
Returns true if this Seekable stream caches data itself in order to allow seeking backwards.
isCachedFile() - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 
isCachedFile() - Method in class com.twelvemonkeys.io.FileSeekableStream
 
isCachedFile() - Method in class com.twelvemonkeys.io.MemoryCacheSeekableStream
 
isCachedFile() - Method in interface com.twelvemonkeys.io.Seekable
Returns true if this Seekable stream caches data itself in order to allow seeking backwards, and the cache is kept in a temporary file.
isCachedMemory() - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 
isCachedMemory() - Method in class com.twelvemonkeys.io.FileSeekableStream
 
isCachedMemory() - Method in class com.twelvemonkeys.io.MemoryCacheSeekableStream
 
isCachedMemory() - Method in interface com.twelvemonkeys.io.Seekable
Returns true if this Seekable stream caches data itself in order to allow seeking backwards, and the cache is kept in main memory.
isDirectory() - Method in class com.twelvemonkeys.io.ole2.Entry
If true this Entry is a directory Entry.
isEmpty(File) - Static method in class com.twelvemonkeys.io.FileUtil
Tests if a file or directory has no content.
isFile() - Method in class com.twelvemonkeys.io.ole2.Entry
If true this Entry is a file (document) Entry.
isRoot() - Method in class com.twelvemonkeys.io.ole2.Entry
If true this Entry is the root Entry.

L

lastModified() - Method in class com.twelvemonkeys.io.ole2.Entry
Returns the time that this entry was last modified.
length() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
length() - Method in class com.twelvemonkeys.io.ole2.Entry
Returns the length of this entry
LENGTH - Static variable in class com.twelvemonkeys.io.ole2.Entry
 
list(String) - Static method in class com.twelvemonkeys.io.FileUtil
Lists all files (and directories) in a specific folder.
list(String, String) - Static method in class com.twelvemonkeys.io.FileUtil
Lists all files (and directories) in a specific folder which are embraced by the wildcard filename mask provided.
LittleEndianDataInputStream - Class in com.twelvemonkeys.io
A little endian input stream reads two's complement, little endian integers, floating point numbers, and characters and returns them as Java primitive types.
LittleEndianDataInputStream(InputStream) - Constructor for class com.twelvemonkeys.io.LittleEndianDataInputStream
Creates a new little endian input stream and chains it to the input stream specified by the pStream argument.
LittleEndianDataOutputStream - Class in com.twelvemonkeys.io
A little endian output stream writes primitive Java numbers and characters to an output stream in a little endian format.
LittleEndianDataOutputStream(OutputStream) - Constructor for class com.twelvemonkeys.io.LittleEndianDataOutputStream
Creates a new little endian output stream and chains it to the output stream specified by the pStream argument.
LittleEndianRandomAccessFile - Class in com.twelvemonkeys.io
A replacement for RandomAccessFile that is capable of reading and writing data in little endian byte order.
LittleEndianRandomAccessFile(File, String) - Constructor for class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
LittleEndianRandomAccessFile(String, String) - Constructor for class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 

M

main(String[]) - Static method in class com.twelvemonkeys.io.FileUtil
 
main(String[]) - Static method in class com.twelvemonkeys.io.WriterOutputStream
 
main(String[]) - Static method in class com.twelvemonkeys.net.MIMEUtil
For debugging.
main(String[]) - Static method in class com.twelvemonkeys.xml.XMLSerializer
 
mark() - Method in interface com.twelvemonkeys.io.Seekable
Marks a position in the stream to be returned to by a subsequent call to reset.
mark() - Method in class com.twelvemonkeys.io.SeekableInputStream
 
mark() - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
mark(int) - Method in class com.twelvemonkeys.io.CompoundReader
 
mark(int) - Method in class com.twelvemonkeys.io.SeekableInputStream
 
mark(int) - Method in class com.twelvemonkeys.io.StringArrayReader
 
mark(int) - Method in class com.twelvemonkeys.io.SubStream
 
markedPositions - Variable in class com.twelvemonkeys.io.SeekableInputStream
 
markedPositions - Variable in class com.twelvemonkeys.io.SeekableOutputStream
 
markSupported - Variable in class com.twelvemonkeys.io.CompoundReader
 
markSupported() - Method in class com.twelvemonkeys.io.CompoundReader
 
markSupported() - Method in class com.twelvemonkeys.io.SeekableInputStream
Returns true, as marking is always supported.
markSupported() - Method in class com.twelvemonkeys.io.StringArrayReader
 
MemoryCacheSeekableStream - Class in com.twelvemonkeys.io
A SeekableInputStream implementation that caches data in memory.
MemoryCacheSeekableStream(InputStream) - Constructor for class com.twelvemonkeys.io.MemoryCacheSeekableStream
Creates a MemoryCacheSeekableStream, reading from the given InputStream.
MIMEUtil - Class in com.twelvemonkeys.net
Contains mappings from file extension to mime-types and from mime-type to file-types.

N

nextReader() - Method in class com.twelvemonkeys.io.CompoundReader
 
nextReader() - Method in class com.twelvemonkeys.io.StringArrayReader
 
NullInputStream - Class in com.twelvemonkeys.io
An InputStream that contains no bytes.
NullInputStream() - Constructor for class com.twelvemonkeys.io.NullInputStream
Creates a NullInputStream.
NullOutputStream - Class in com.twelvemonkeys.io
An OutputStream implementation that works as a sink.
NullOutputStream() - Constructor for class com.twelvemonkeys.io.NullOutputStream
Creates a NullOutputStream.

P

PackBitsDecoder - Class in com.twelvemonkeys.io.enc
Decoder implementation for Apple PackBits run-length encoding.
PackBitsDecoder() - Constructor for class com.twelvemonkeys.io.enc.PackBitsDecoder
Creates a PackBitsDecoder.
PackBitsDecoder(boolean) - Constructor for class com.twelvemonkeys.io.enc.PackBitsDecoder
Creates a PackBitsDecoder, with optional compatibility mode.
PackBitsDecoder(int, boolean) - Constructor for class com.twelvemonkeys.io.enc.PackBitsDecoder
Creates a PackBitsDecoder, with optional compatibility mode.
PackBitsEncoder - Class in com.twelvemonkeys.io.enc
Encoder implementation for Apple PackBits run-length encoding.
PackBitsEncoder() - Constructor for class com.twelvemonkeys.io.enc.PackBitsEncoder
Creates a PackBitsEncoder.
parseHTTPDate(String) - Static method in class com.twelvemonkeys.net.HTTPUtil
Parses a HTTP date string into a long representing milliseconds since January 1, 1970 GMT.

R

RandomAccessStream - Class in com.twelvemonkeys.io
A data stream that is both readable and writable, much like a RandomAccessFile, except it may be backed by something other than a file.
RandomAccessStream() - Constructor for class com.twelvemonkeys.io.RandomAccessStream
 
read() - Method in class com.twelvemonkeys.io.MemoryCacheSeekableStream
 
read() - Method in class com.twelvemonkeys.io.CompoundReader
 
read() - Method in class com.twelvemonkeys.io.enc.DecoderStream
 
read() - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 
read() - Method in class com.twelvemonkeys.io.FileSeekableStream
 
read() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
read() - Method in class com.twelvemonkeys.io.NullInputStream
This implementation returns -1 (EOF), always.
read() - Method in class com.twelvemonkeys.io.RandomAccessStream
 
read() - Method in class com.twelvemonkeys.io.StringArrayReader
 
read() - Method in class com.twelvemonkeys.io.SubStream
 
read(byte[]) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
read(byte[]) - Method in class com.twelvemonkeys.io.RandomAccessStream
 
read(byte[]) - Method in class com.twelvemonkeys.io.SeekableInputStream
 
read(byte[]) - Method in class com.twelvemonkeys.io.SubStream
 
read(byte[], int, int) - Method in class com.twelvemonkeys.io.MemoryCacheSeekableStream
 
read(byte[], int, int) - Method in class com.twelvemonkeys.io.enc.DecoderStream
 
read(byte[], int, int) - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 
read(byte[], int, int) - Method in class com.twelvemonkeys.io.FileSeekableStream
 
read(byte[], int, int) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
read(byte[], int, int) - Method in class com.twelvemonkeys.io.RandomAccessStream
 
read(byte[], int, int) - Method in class com.twelvemonkeys.io.SubStream
 
read(char[], int, int) - Method in class com.twelvemonkeys.io.CompoundReader
 
read(char[], int, int) - Method in class com.twelvemonkeys.io.StringArrayReader
 
read(File) - Static method in class com.twelvemonkeys.io.FileUtil
Gets the contents of the given file, as a byte array.
read(InputStream) - Static method in class com.twelvemonkeys.io.FileUtil
Reads all data from the input stream to a byte array.
read(String) - Static method in class com.twelvemonkeys.io.FileUtil
Gets the contents of the given file, as a byte array.
readBoolean() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
Reads a boolean from the underlying input stream by reading a single byte.
readBoolean() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Reads a boolean from the underlying input stream by reading a single byte.
readByte() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
Reads a signed byte from the underlying input stream with value between -128 and 127
readByte() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Reads a signed byte from the underlying input stream with value between -128 and 127
readChar() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
Reads a two byte Unicode char from the underlying input stream in little endian order, low byte first.
readChar() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Reads a two byte Unicode char from the underlying input stream in little endian order, low byte first.
readDouble() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
 
readDouble() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
readFloat() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
 
readFloat() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
readFully(byte[]) - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
See the general contract of the readFully method of DataInput.
readFully(byte[]) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
readFully(byte[], int, int) - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
See the general contract of the readFully method of DataInput.
readFully(byte[], int, int) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
readFully(InputStream, byte[], int, int) - Static method in class com.twelvemonkeys.io.enc.Base64Decoder
 
readInt() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
Reads a four byte signed int from the underlying input stream in little endian order, low byte first.
readInt() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Reads a four byte signed int from the underlying input stream in little endian order, low byte first.
readLine() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
Deprecated.
This method does not properly convert bytes to characters.
readLine() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
readLong() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
Reads an eight byte signed int from the underlying input stream in little endian order, low byte first.
readLong() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Reads an eight byte signed int from the underlying input stream in little endian order, low byte first.
readShort() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
Reads a two byte signed short from the underlying input stream in little endian order, low byte first.
readShort() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Reads a two byte signed short from the underlying input stream in little endian order, low byte first.
readUnsignedByte() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
Reads an unsigned byte from the underlying input stream with value between 0 and 255
readUnsignedByte() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Reads an unsigned byte from the underlying input stream with value between 0 and 255
readUnsignedShort() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
Reads a two byte unsigned short from the underlying input stream in little endian order, low byte first.
readUnsignedShort() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Reads a two byte unsigned short from the underlying input stream in little endian order, low byte first.
readUTF() - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
Reads a string of no more than 65,535 characters from the underlying input stream using UTF-8 encoding.
readUTF() - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Reads a string of no more than 65,535 characters from the underlying input stream using UTF-8 encoding.
ready() - Method in class com.twelvemonkeys.io.CompoundReader
 
ready() - Method in class com.twelvemonkeys.io.StringArrayReader
 
rename(File, File) - Static method in class com.twelvemonkeys.io.FileUtil
Renames the specified file, if the destination does not exist.
rename(File, File, boolean) - Static method in class com.twelvemonkeys.io.FileUtil
Renames the specified file.
rename(File, String) - Static method in class com.twelvemonkeys.io.FileUtil
Renames the specified file, if the destination does not exist.
rename(File, String, boolean) - Static method in class com.twelvemonkeys.io.FileUtil
Renames the specified file.
rename(String, String) - Static method in class com.twelvemonkeys.io.FileUtil
Renames the specified file, if the destination does not exist.
rename(String, String, boolean) - Static method in class com.twelvemonkeys.io.FileUtil
Renames the specified file.
reset() - Method in class com.twelvemonkeys.io.CompoundReader
 
reset() - Method in interface com.twelvemonkeys.io.Seekable
Returns the file pointer to its previous position, at the time of the most recent unmatched call to mark.
reset() - Method in class com.twelvemonkeys.io.SeekableInputStream
 
reset() - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
reset() - Method in class com.twelvemonkeys.io.StringArrayReader
 
reset() - Method in class com.twelvemonkeys.io.SubStream
 
resolve(File) - Static method in class com.twelvemonkeys.io.FileUtil
 
resolve(File[]) - Static method in class com.twelvemonkeys.io.FileUtil
 
resolve(File, String) - Static method in class com.twelvemonkeys.io.FileUtil
 
resolve(String) - Static method in class com.twelvemonkeys.io.FileUtil
 

S

seek(long) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Sets the file-pointer offset, measured from the beginning of this file, at which the next read or write occurs.
seek(long) - Method in interface com.twelvemonkeys.io.Seekable
Sets the current stream position to the desired location.
seek(long) - Method in class com.twelvemonkeys.io.SeekableInputStream
 
seek(long) - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
Seekable - Interface in com.twelvemonkeys.io
Interface for seekable streams.
SeekableInputStream - Class in com.twelvemonkeys.io
Abstract base class for InputStreams implementing the Seekable interface.
SeekableInputStream() - Constructor for class com.twelvemonkeys.io.SeekableInputStream
 
SeekableOutputStream - Class in com.twelvemonkeys.io
Abstract base class for OutputStreams implementing the Seekable interface.
SeekableOutputStream() - Constructor for class com.twelvemonkeys.io.SeekableOutputStream
 
seekImpl(long) - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 
seekImpl(long) - Method in class com.twelvemonkeys.io.FileSeekableStream
 
seekImpl(long) - Method in class com.twelvemonkeys.io.SeekableInputStream
 
seekImpl(long) - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
serialize(Document) - Method in class com.twelvemonkeys.xml.DOMSerializer
Serializes the entire document.
serialize(Document) - Method in class com.twelvemonkeys.xml.XMLSerializer
Serializes the entire document, along with the XML declaration (&lt;?xml version="1.0" encoding="..."?&gt;).
serialize(Node) - Method in class com.twelvemonkeys.xml.DOMSerializer
Serializes the given node, along with any subnodes.
serialize(Node, boolean) - Method in class com.twelvemonkeys.xml.XMLSerializer
Serializes the entire sub tree starting at pRootNode, along with an optional XML declaration (&lt;?xml version="1.0" encoding="..."?&gt;).
setFilenameMasksForExclusion(String[]) - Method in class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
 
setFilenameMasksForInclusion(String[]) - Method in class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
 
setLength(long) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
setPrettyPrint(boolean) - Method in class com.twelvemonkeys.xml.DOMSerializer
Specifies wether the serializer should use indentation and optimize for readability.
size() - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Returns the number of bytes written to this little endian output stream.
skip(long) - Method in class com.twelvemonkeys.io.CompoundReader
 
skip(long) - Method in class com.twelvemonkeys.io.enc.DecoderStream
 
skip(long) - Method in class com.twelvemonkeys.io.NullInputStream
This implementation returns 0, always.
skip(long) - Method in class com.twelvemonkeys.io.SeekableInputStream
Implemented using seek(currentPos + pLength).
skip(long) - Method in class com.twelvemonkeys.io.StringArrayReader
 
skip(long) - Method in class com.twelvemonkeys.io.SubStream
 
skipBytes(int) - Method in class com.twelvemonkeys.io.LittleEndianDataInputStream
See the general contract of the skipBytes method of DataInput.
skipBytes(int) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
stream - Variable in class com.twelvemonkeys.io.FileCacheSeekableStream
The backing stream
streamPosition - Variable in class com.twelvemonkeys.io.FileCacheSeekableStream
The stream positon in the backing stream (stream)
StringArrayReader - Class in com.twelvemonkeys.io
StringArrayReader
StringArrayReader(String[]) - Constructor for class com.twelvemonkeys.io.StringArrayReader
Create a new string array reader.
stripComments(boolean) - Method in class com.twelvemonkeys.xml.XMLSerializer
 
SubStream - Class in com.twelvemonkeys.io
An InputStream reading up to a specified number of bytes from an underlying stream.
SubStream(InputStream, long) - Constructor for class com.twelvemonkeys.io.SubStream
Creates a SubStream of the given pStream.
syncPosition() - Method in class com.twelvemonkeys.io.FileCacheSeekableStream
 

T

toByteArray() - Method in class com.twelvemonkeys.io.FastByteArrayOutputStream
 
toFile(URL) - Static method in class com.twelvemonkeys.io.FileUtil
Creates a File based on the path part of the URL, for file-protocol (file:) based URLs.
toHumanReadableSize(long) - Static method in class com.twelvemonkeys.io.FileUtil
Formats the given number to a human readable format.
toJavaTimeInMillis(long) - Static method in class com.twelvemonkeys.io.ole2.CompoundDocument
Converts the given time stamp to standard Java time representation, milliseconds since January 1, 1970.
toString() - Method in class com.twelvemonkeys.io.FilenameMaskFilter
Deprecated.
 
toString() - Method in class com.twelvemonkeys.io.ole2.CompoundDocument
 
toString() - Method in class com.twelvemonkeys.io.ole2.Entry
 

V

visitFiles(File, FileFilter, Visitor<File>) - Static method in class com.twelvemonkeys.io.FileUtil
Visits all files in pDirectory.

W

write(byte[]) - Method in class com.twelvemonkeys.io.enc.EncoderStream
 
write(byte[]) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
write(byte[]) - Method in class com.twelvemonkeys.io.NullOutputStream
This implementation does nothing.
write(byte[]) - Method in class com.twelvemonkeys.io.SeekableOutputStream
 
write(byte[]) - Method in class com.twelvemonkeys.io.WriterOutputStream
 
write(byte[], int, int) - Method in class com.twelvemonkeys.io.enc.EncoderStream
 
write(byte[], int, int) - Method in class com.twelvemonkeys.io.FastByteArrayOutputStream
 
write(byte[], int, int) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes pLength bytes from the specified byte array starting at pOffset to the underlying output stream.
write(byte[], int, int) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
write(byte[], int, int) - Method in class com.twelvemonkeys.io.NullOutputStream
This implementation does nothing.
write(byte[], int, int) - Method in class com.twelvemonkeys.io.WriterOutputStream
 
write(int) - Method in class com.twelvemonkeys.io.enc.EncoderStream
 
write(int) - Method in class com.twelvemonkeys.io.FastByteArrayOutputStream
 
write(int) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes the specified byte value to the underlying output stream.
write(int) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
 
write(int) - Method in class com.twelvemonkeys.io.NullOutputStream
This implementation does nothing.
write(int) - Method in class com.twelvemonkeys.io.WriterOutputStream
 
write(File, byte[]) - Static method in class com.twelvemonkeys.io.FileUtil
Writes the contents from a byte array to a file.
write(OutputStream, byte[]) - Static method in class com.twelvemonkeys.io.FileUtil
Writes the contents from a byte array to an output stream.
write(String, byte[]) - Static method in class com.twelvemonkeys.io.FileUtil
Writes the contents from a byte array to a file.
writeBoolean(boolean) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes a boolean to the underlying output stream as a single byte.
writeBoolean(boolean) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes a boolean to the underlying output stream as a single byte.
writeByte(int) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes out a byte to the underlying output stream
writeByte(int) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes out a byte to the underlying output stream
writeBytes(String) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes a string to the underlying output stream as a sequence of bytes.
writeBytes(String) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes a string to the underlying output stream as a sequence of bytes.
writeChar(int) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes a two byte char to the underlying output stream in little endian order, low byte first.
writeChar(int) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes a two byte char to the underlying output stream in little endian order, low byte first.
writeChars(String) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes a string to the underlying output stream as a sequence of characters.
writeChars(String) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes a string to the underlying output stream as a sequence of characters.
writeDouble(double) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes an 8 byte Java double to the underlying output stream in little endian order.
writeDouble(double) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes an 8 byte Java double to the underlying output stream in little endian order.
writeFloat(float) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes a 4 byte Java float to the underlying output stream in little endian order.
writeFloat(float) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes a 4 byte Java float to the underlying output stream in little endian order.
writeInt(int) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes a four-byte int to the underlying output stream in little endian order, low byte first, high byte last
writeInt(int) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes a four-byte int to the underlying output stream in little endian order, low byte first, high byte last
writeLong(long) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes an eight-byte long to the underlying output stream in little endian order, low byte first, high byte last
writeLong(long) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes an eight-byte long to the underlying output stream in little endian order, low byte first, high byte last
writer - Variable in class com.twelvemonkeys.io.WriterOutputStream
 
WriterOutputStream - Class in com.twelvemonkeys.io
Wraps a Writer in an OutputStream.
WriterOutputStream(Writer) - Constructor for class com.twelvemonkeys.io.WriterOutputStream
 
WriterOutputStream(Writer, String) - Constructor for class com.twelvemonkeys.io.WriterOutputStream
 
writeShort(int) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes a two byte short to the underlying output stream in little endian order, low byte first.
writeShort(int) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes a two byte short to the underlying output stream in little endian order, low byte first.
writeTo(OutputStream) - Method in class com.twelvemonkeys.io.FastByteArrayOutputStream
 
writeUTF(String) - Method in class com.twelvemonkeys.io.LittleEndianDataOutputStream
Writes a string of no more than 65,535 characters to the underlying output stream using UTF-8 encoding.
writeUTF(String) - Method in class com.twelvemonkeys.io.LittleEndianRandomAccessFile
Writes a string of no more than 65,535 characters to the underlying output stream using UTF-8 encoding.

X

XMLSerializer - Class in com.twelvemonkeys.xml
XMLSerializer
XMLSerializer(OutputStream, String) - Constructor for class com.twelvemonkeys.xml.XMLSerializer
 
A B C D E F G H I L M N P R S T V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form