B C D E F G I L M N O P R S T U W Z

B

ByteArrayUtil - Class in info.aduna.io
Class providing utility methods for handling byte arrays.
ByteArrayUtil() - Constructor for class info.aduna.io.ByteArrayUtil
 

C

charAt(int) - Method in class info.aduna.io.LookAheadReader
Get the character at the supplied lookAhead.
CharPosInputStream - Class in info.aduna.io
An InputStream that registers the position of the next character to read.
CharPosInputStream(InputStream) - Constructor for class info.aduna.io.CharPosInputStream
Creates a new CharPosInputStream.
CharPosReader - Class in info.aduna.io
A character-stream reader that registers the position of the next character to read.
CharPosReader(Reader) - Constructor for class info.aduna.io.CharPosReader
Creates a new CharPosReader.
close() - Method in class info.aduna.io.CharPosInputStream
 
close() - Method in class info.aduna.io.CharPosReader
 
close() - Method in class info.aduna.io.IndentingWriter
 
close() - Method in class info.aduna.io.LookAheadReader
 
close() - Method in class info.aduna.io.NioFile
 
close() - Method in class info.aduna.io.PushbackReader
 
compareRegion(byte[], int, byte[], int, int) - Static method in class info.aduna.io.ByteArrayUtil
Compares two regions of bytes, indicating whether one is larger than the other.
copyFile(File, File) - Static method in class info.aduna.io.FileUtil
Copies the contents of file source to file destination.
createDirIfNotExists(File) - Static method in class info.aduna.io.FileUtil
Creates a directory if it doesn't exist yet.
createTempDir(String) - Static method in class info.aduna.io.FileUtil
Creates a new and empty directory in the default temp directory using the given prefix.

D

decreaseIndentation() - Method in class info.aduna.io.IndentingWriter
 
delete() - Method in class info.aduna.io.NioFile
Closed any open channels and then deletes the file.
deleteChildren(File) - Static method in class info.aduna.io.FileUtil
Deletes all files and directories in the specified directory.
deleteDir(File) - Static method in class info.aduna.io.FileUtil
Deletes the specified diretory and any files and directories in it recursively.
deleteFiles(File) - Static method in class info.aduna.io.FileUtil
Deletes all files and directories in the specified directory.
deltree(File) - Static method in class info.aduna.io.FileUtil
Deletes the given file and everything under it.

E

extract(File, File) - Static method in class info.aduna.io.ZipUtil
Extract the contents of a zipfile to a directory.
extract(ZipFile, File) - Static method in class info.aduna.io.ZipUtil
Extract the contents of a zipfile to a directory.

F

FileUtil - Class in info.aduna.io
Utility methods for operations on Files.
FileUtil() - Constructor for class info.aduna.io.FileUtil
 
fillLABuf(int) - Method in class info.aduna.io.LookAheadReader
Tries to fill the look ahead buffer so that it contains 'charsNeeded' characters.
find(byte[], int, int, byte) - Static method in class info.aduna.io.ByteArrayUtil
Retrieve a byte from a byte array.
find(byte[], int, int, byte[]) - Static method in class info.aduna.io.ByteArrayUtil
Look for a sequence of bytes in a byte array.
flush() - Method in class info.aduna.io.IndentingWriter
 
force(boolean) - Method in class info.aduna.io.NioFile
Performs a protected FileChannel.force(boolean) call.

G

get(byte[], int) - Static method in class info.aduna.io.ByteArrayUtil
Gets the subarray from array that starts at offset.
get(byte[], int, int) - Static method in class info.aduna.io.ByteArrayUtil
Gets the subarray of length length from array that starts at offset.
getCharPos() - Method in class info.aduna.io.CharPosInputStream
Get the character position (1-based) for the next character to read.
getCharPos() - Method in class info.aduna.io.CharPosReader
Get the character position (1-based) for the next character to read.
getColumn() - Method in class info.aduna.io.CharPosInputStream
Get the column (1-based) for the next character to read.
getColumn() - Method in class info.aduna.io.CharPosReader
Get the column (1-based) for the next character to read.
getFile() - Method in class info.aduna.io.NioFile
 
getFileExtension(String) - Static method in class info.aduna.io.FileUtil
Gets the extension of the specified file name.
getImage(String) - Static method in class info.aduna.io.ResourceUtil
Retrieve an image resource
getImageIcon(String) - Static method in class info.aduna.io.ResourceUtil
Retrieve an image icon resource.
getIndentationLevel() - Method in class info.aduna.io.IndentingWriter
 
getIndentationString() - Method in class info.aduna.io.IndentingWriter
Gets the string used for indentation.
getInputStream(String) - Static method in class info.aduna.io.ResourceUtil
Get an inputstream on the specified resource.
getInt(byte[], int) - Static method in class info.aduna.io.ByteArrayUtil
 
getLineNo() - Method in class info.aduna.io.CharPosInputStream
Get the line number (1-based) for the next character to read.
getLineNo() - Method in class info.aduna.io.CharPosReader
Get the line number (1-based) for the next character to read.
getLong(byte[], int) - Static method in class info.aduna.io.ByteArrayUtil
 
getProperties(String) - Static method in class info.aduna.io.ResourceUtil
Retrieve a properties resource.
getRelativeFile(File, File) - Static method in class info.aduna.io.FileUtil
Gets the relative representations of a file compared to another.
getRelativePath(File, File) - Static method in class info.aduna.io.FileUtil
Gets the relative representations of a file compared to another.
getString(String) - Static method in class info.aduna.io.ResourceUtil
Retrieve the String contents of the specified resource, obtained by opening in inputstream on the resource and then interpreting the bytes contained in the inputstream as if they represented characters.
getURL(String) - Static method in class info.aduna.io.ResourceUtil
The the URL to the specified resource
getURLs(String) - Static method in class info.aduna.io.ResourceUtil
 
GZipUtil - Class in info.aduna.io
GZip-related utilities.
GZipUtil() - Constructor for class info.aduna.io.GZipUtil
 

I

increaseIndentation() - Method in class info.aduna.io.IndentingWriter
 
indentationLevel - Variable in class info.aduna.io.IndentingWriter
The current indentation level, i.e.
IndentingWriter - Class in info.aduna.io
A writer that adds indentation to written text.
IndentingWriter(Writer) - Constructor for class info.aduna.io.IndentingWriter
 
info.aduna.io - package info.aduna.io
 
IOUtil - Class in info.aduna.io
Utility methods for I/O working with Readers, Writers, InputStreams and OutputStreams.
IOUtil() - Constructor for class info.aduna.io.IOUtil
 
isClosed() - Method in class info.aduna.io.NioFile
 
isGZipStream(InputStream) - Static method in class info.aduna.io.GZipUtil
 
isLegalFileName(String) - Static method in class info.aduna.io.FileUtil
Checks whether the specified file name is a legal (DOS/Windows-) file name.
isLegalFileNameChar(char) - Static method in class info.aduna.io.FileUtil
Checks whether the specified character is a legal (DOS/Windows-) file name character.
isZipStream(InputStream) - Static method in class info.aduna.io.ZipUtil
 

L

loadPomProperties(String, String) - Static method in class info.aduna.io.MavenUtil
Loads the Maven pom.properties for the specified artifact.
loadVersion(String, String, String) - Static method in class info.aduna.io.MavenUtil
Loads the version number from the pom.properties file for the specified artifact.
LookAheadReader - Class in info.aduna.io
A character-stream reader that allows look-aheads to be performed.
LookAheadReader(Reader, int) - Constructor for class info.aduna.io.LookAheadReader
Creates a new LookAheadReader.
LookAheadReader(Reader) - Constructor for class info.aduna.io.LookAheadReader
Creates a new LookAheadReader with a initial buffer size of 8 characters.

M

matchesPattern(byte[], byte[], byte[]) - Static method in class info.aduna.io.ByteArrayUtil
Checks whether value matches pattern with respect to the bits specified by mask.
MavenUtil - Class in info.aduna.io
Maven-related utility methods.
MavenUtil() - Constructor for class info.aduna.io.MavenUtil
 
moreInput() - Method in class info.aduna.io.LookAheadReader
Checks whether there's more input to read.
moveRecursive(File, File, Collection<File>) - Static method in class info.aduna.io.FileUtil
Moves the given file and all files under it (if it's a directory) to the given location, excluding the given collection of File objects!

N

nextInputIgnoreCaseIs(String) - Method in class info.aduna.io.LookAheadReader
Check whether the next input is equal to the supplied string (case-insensitive).
nextInputIs(String) - Method in class info.aduna.io.LookAheadReader
Check whether the next input is equal to the supplied string (case-sensitive).
NioFile - Class in info.aduna.io
File wrapper that protects against concurrent file closing events due to e.g.
NioFile(File) - Constructor for class info.aduna.io.NioFile
 

O

out - Variable in class info.aduna.io.IndentingWriter
The underlying writer.

P

pushback(Reader) - Method in class info.aduna.io.PushbackReader
Push the contents of a stream back into the stream.
pushback(String) - Method in class info.aduna.io.PushbackReader
Push a string back into the stream.
pushback(char[]) - Method in class info.aduna.io.PushbackReader
Push a character array back into the stream.
pushback(char[], int, int) - Method in class info.aduna.io.PushbackReader
Push a part of a character array back into the stream.
PushbackReader - Class in info.aduna.io
A character-stream reader that allows characters, strings and even the contents of streams and readers to be pushed back into the stream.
PushbackReader() - Constructor for class info.aduna.io.PushbackReader
Creates a new PushbackReader.
PushbackReader(Reader) - Constructor for class info.aduna.io.PushbackReader
Creates a new PushbackReader.
put(byte[], byte[], int) - Static method in class info.aduna.io.ByteArrayUtil
Puts the entire source array in the target array at offset offset.
putInt(int, byte[], int) - Static method in class info.aduna.io.ByteArrayUtil
 
putLong(long, byte[], int) - Static method in class info.aduna.io.ByteArrayUtil
 

R

read() - Method in class info.aduna.io.CharPosInputStream
 
read(byte[], int, int) - Method in class info.aduna.io.CharPosInputStream
 
read() - Method in class info.aduna.io.CharPosReader
 
read(char[], int, int) - Method in class info.aduna.io.CharPosReader
 
read() - Method in class info.aduna.io.LookAheadReader
 
read(char[], int, int) - Method in class info.aduna.io.LookAheadReader
 
read(ByteBuffer, long) - Method in class info.aduna.io.NioFile
Performs a protected FileChannel.read(ByteBuffer, long) call.
read() - Method in class info.aduna.io.PushbackReader
 
read(char[], int, int) - Method in class info.aduna.io.PushbackReader
 
readByte(long) - Method in class info.aduna.io.NioFile
 
readBytes(File) - Static method in class info.aduna.io.IOUtil
Reads all bytes from the specified file and returns them as a byte array.
readBytes(InputStream) - Static method in class info.aduna.io.IOUtil
Reads all bytes from the supplied input stream and returns them as a byte array.
readBytes(InputStream, int) - Static method in class info.aduna.io.IOUtil
Reads at most maxBytes bytes from the supplied input stream and returns them as a byte array.
readBytes(InputStream, byte[]) - Static method in class info.aduna.io.IOUtil
Fills the supplied byte array with bytes read from the specified InputStream.
readBytes(long, int) - Method in class info.aduna.io.NioFile
 
readChars(URL) - Static method in class info.aduna.io.IOUtil
 
readChars(Reader) - Static method in class info.aduna.io.IOUtil
Reads all characters from the supplied reader and returns them.
readChars(Reader, char[]) - Static method in class info.aduna.io.IOUtil
Fills the supplied character array with characters read from the specified Reader.
readInt(long) - Method in class info.aduna.io.NioFile
 
readLong(long) - Method in class info.aduna.io.NioFile
 
readProperties(File) - Static method in class info.aduna.io.IOUtil
Read properties from the specified file.
readProperties(File, Properties) - Static method in class info.aduna.io.IOUtil
Read properties from the specified file.
readProperties(InputStream) - Static method in class info.aduna.io.IOUtil
Read properties from the specified InputStream.
readProperties(InputStream, Properties) - Static method in class info.aduna.io.IOUtil
Read properties from the specified InputStream.
readString(File) - Static method in class info.aduna.io.IOUtil
Read the contents as a string from the given file.
readString(URL) - Static method in class info.aduna.io.IOUtil
 
readString(InputStream) - Static method in class info.aduna.io.IOUtil
 
readString(Reader) - Static method in class info.aduna.io.IOUtil
Reads all characters from the supplied reader and returns them as a String.
readString(Reader, int) - Static method in class info.aduna.io.IOUtil
Reads a string of at most length maxChars from the supplied Reader.
regionMatches(byte[], byte[], int) - Static method in class info.aduna.io.ByteArrayUtil
Checks whether subValue matches the region in superValue starting at offset offset.
resourceToFile(String, File) - Static method in class info.aduna.io.ResourceUtil
Store a resource to a file on the file system.
ResourceUtil - Class in info.aduna.io
ResourceUtil is a utility class for retrieving resources (images, property-files, etc) from the classpath.
ResourceUtil() - Constructor for class info.aduna.io.ResourceUtil
 

S

setIndentationLevel(int) - Method in class info.aduna.io.IndentingWriter
 
setIndentationString(String) - Method in class info.aduna.io.IndentingWriter
Sets the string that should be used for indentation.
size() - Method in class info.aduna.io.NioFile
Performs a protected FileChannel.size() call.
skip(long) - Method in class info.aduna.io.LookAheadReader
 

T

toBitSet(byte[]) - Static method in class info.aduna.io.ByteArrayUtil
 
toByteArray(BitSet) - Static method in class info.aduna.io.ByteArrayUtil
 
toHexString(byte[]) - Static method in class info.aduna.io.ByteArrayUtil
Returns the hexadecimal value of the supplied byte array.
transfer(InputStream, OutputStream) - Static method in class info.aduna.io.IOUtil
Transfers all bytes that can be read from in to out.
transfer(InputStream, File) - Static method in class info.aduna.io.IOUtil
Writes all bytes from an InputStream to a file.
transfer(Reader, Writer) - Static method in class info.aduna.io.IOUtil
Transfers all characters that can be read from in to out .
transfer(Reader, File) - Static method in class info.aduna.io.IOUtil
Writes all characters from a Reader to a file using the default character encoding.
transferTo(long, long, WritableByteChannel) - Method in class info.aduna.io.NioFile
Performs a protected FileChannel.transferTo(long, long, WritableByteChannel) call.
truncate(long) - Method in class info.aduna.io.NioFile
Performs a protected FileChannel.truncate(long) call.

U

urlToReader(URL) - Static method in class info.aduna.io.IOUtil
 

W

write(char[], int, int) - Method in class info.aduna.io.IndentingWriter
 
write(ByteBuffer, long) - Method in class info.aduna.io.NioFile
Performs a protected FileChannel.write(ByteBuffer, long) call.
writeByte(byte, long) - Method in class info.aduna.io.NioFile
 
writeBytes(byte[], File) - Static method in class info.aduna.io.IOUtil
 
writeBytes(byte[], OutputStream) - Static method in class info.aduna.io.IOUtil
 
writeBytes(byte[], long) - Method in class info.aduna.io.NioFile
 
writeEntry(ZipFile, ZipEntry, File) - Static method in class info.aduna.io.ZipUtil
Write an entry to a zip file.
writeEOL() - Method in class info.aduna.io.IndentingWriter
Writes an end-of-line character sequence and triggers the indentation for the text written on the next line.
writeInt(int, long) - Method in class info.aduna.io.NioFile
 
writeLong(long, long) - Method in class info.aduna.io.NioFile
 
writeProperties(Properties, File, boolean) - Static method in class info.aduna.io.IOUtil
Write the specified properties to the specified file.
writeProperties(Properties, OutputStream, boolean) - Static method in class info.aduna.io.IOUtil
Write the specified properties to the specified output stream.
writeStream(InputStream, File) - Static method in class info.aduna.io.IOUtil
Writes all data that can be read from the supplied InputStream to the specified file.
writeString(String, File) - Static method in class info.aduna.io.IOUtil
 

Z

ZipUtil - Class in info.aduna.io
Zip-related utilities.
ZipUtil() - Constructor for class info.aduna.io.ZipUtil
 

B C D E F G I L M N O P R S T U W Z

Copyright © 2011 Aduna. All Rights Reserved.