- 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 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.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.
- 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 Decoder
s 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.enc.DecoderStream
-
- 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 pStream
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 pStream
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.
- 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.
- fill() - Method in class com.twelvemonkeys.io.enc.DecoderStream
-
Fills the buffer, by decoding data from the underlying input stream.
- 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.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
-
- formatHTTPDate(Date) - Static method in class com.twelvemonkeys.net.HTTPUtil
-
- 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
-
- 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
-
- 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.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.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.
- 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
-
- 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 InputStream
s implementing the Seekable
interface.
- SeekableInputStream() - Constructor for class com.twelvemonkeys.io.SeekableInputStream
-
- SeekableOutputStream - Class in com.twelvemonkeys.io
-
Abstract base class for OutputStream
s implementing the
Seekable
interface.
- SeekableOutputStream() - Constructor for class com.twelvemonkeys.io.SeekableOutputStream
-
- 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
(<?xml version="1.0" encoding="..."?>
).
- 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
(<?xml version="1.0" encoding="..."?>
).
- 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
-
- 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
.
- 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.