- emptyElement(String) - Method in class info.aduna.xml.XMLWriter
-
Writes an 'empty' element, e.g.
- EmptyIterator<E> - Class in org.openrdf.util.iterators
-
An iterator that does not contain any elements.
- EmptyIterator() - Constructor for class org.openrdf.util.iterators.EmptyIterator
-
- emptyLine() - Method in class info.aduna.xml.XMLWriter
-
Writes an empty line.
- encodeArray(String[]) - Static method in class info.aduna.text.StringUtil
-
Encodes an array of Strings into a single String than can be decoded to
the original array using the corresponding decode method.
- endDocument() - Method in class info.aduna.xml.SimpleSAXAdapter
-
- endDocument() - Method in interface info.aduna.xml.SimpleSAXListener
-
Notifies the listener that the parser has finished parsing.
- endDocument() - Method in class info.aduna.xml.XMLWriter
-
Finishes writing and flushes the OutputStream or Writer that this
XMLWriter is writing to.
- endTag(String) - Method in class info.aduna.xml.SimpleSAXAdapter
-
- endTag(String) - Method in interface info.aduna.xml.SimpleSAXListener
-
Reports an end tag to the listener.
- endTag(String) - Method in class info.aduna.xml.XMLWriter
-
Writes an end tag.
- equals(Object) - Method in class info.aduna.lang.FileFormat
-
Compares FileFormat objects based on their
name,
ignoring case.
- escapeAttributeValue(String) - Static method in class info.aduna.xml.XMLUtil
-
Escapes all characters that have a special meaning in XML attribute
values -- i.e.
- escapeCharacterData(String) - Static method in class info.aduna.xml.XMLUtil
-
Escapes any special characters in the supplied text so that it can be
included as character data in an XML document.
- escapeDoubleQuotedAttValue(String) - Static method in class info.aduna.xml.XMLUtil
-
Escapes any special characters in the supplied value so that it can be
used as an double-quoted attribute value in an XML document.
- escapeSingleQuotedAttValue(String) - Static method in class info.aduna.xml.XMLUtil
-
Escapes any special characters in the supplied value so that it can be
used as an single-quoted attribute value in an XML document.
- escapeText(String) - Static method in class info.aduna.xml.XMLUtil
-
Escapes all characters that have a special meaning in XML text -- i.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.
- 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.
- get(K) - Method in class info.aduna.lang.service.ServiceRegistry
-
Gets the service for the specified key, if any.
- getAll() - Method in class info.aduna.lang.service.ServiceRegistry
-
Gets all registered services.
- getAllAfter(String, char) - Static method in class info.aduna.text.StringUtil
-
Returns all text occurring after the specified separator character, or the
entire string when the seperator char does not occur.
- getAllBefore(String, char) - Static method in class info.aduna.text.StringUtil
-
Returns all text occurring before the specified separator character, or
the entire string when the seperator char does not occur.
- getAuthority() - Method in class info.aduna.net.ParsedURI
-
- getCharset() - Method in class info.aduna.lang.FileFormat
-
Get the (default) charset for this file format.
- getDefaultFileExtension() - Method in class info.aduna.lang.FileFormat
-
Gets the default file name extension for this file format.
- getDefaultMIMEType() - Method in class info.aduna.lang.FileFormat
-
Gets the default MIME type for this file format.
- getDocument(URL) - Static method in class info.aduna.xml.DocumentUtil
-
Create a Document representing the XML file at the specified location.
- getDocument(URL, boolean, boolean) - Static method in class info.aduna.xml.DocumentUtil
-
Create a Document representing the XML file at the specified location.
- getDocument(URL, Schema) - Static method in class info.aduna.xml.DocumentUtil
-
Create a Document representing the XML file at the specified location.
- 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.
- getFileExtensions() - Method in class info.aduna.lang.FileFormat
-
Gets the file format's file extensions.
- getFileFormatForFileName(String) - Method in class info.aduna.lang.service.FileFormatServiceRegistry
-
Tries to match the extension of a file name against the list of registred
file formats.
- getFileFormatForFileName(String, FF) - Method in class info.aduna.lang.service.FileFormatServiceRegistry
-
Tries to match the extension of a file name against the list of registred
file formats.
- getFileFormatForMIMEType(String) - Method in class info.aduna.lang.service.FileFormatServiceRegistry
-
Tries to match a MIME type against the list of registered file formats.
- getFileFormatForMIMEType(String, FF) - Method in class info.aduna.lang.service.FileFormatServiceRegistry
-
Tries to match a MIME type against the list of registred file formats.
- getFragment() - Method in class info.aduna.net.ParsedURI
-
- 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.
- getIndentString() - Method in class info.aduna.xml.XMLWriter
-
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
-
- getKey(S) - Method in class info.aduna.lang.service.ServiceRegistry
-
Gets the key for the specified service.
- getKeys() - Method in class info.aduna.lang.service.ServiceRegistry
-
Gets the set of registered keys.
- getListener() - Method in class info.aduna.xml.SimpleSAXParser
-
Gets the listener that currently will receive any events from this parser.
- getLong(byte[], int) - Static method in class info.aduna.io.ByteArrayUtil
-
- getMIMETypes() - Method in class info.aduna.lang.FileFormat
-
Gets the file format's MIME types.
- getName() - Method in class info.aduna.lang.FileFormat
-
Gets the name of this file format.
- getPath() - Method in class info.aduna.net.ParsedURI
-
- getProperties(String) - Static method in class info.aduna.io.ResourceUtil
-
Retrieve a properties resource.
- getQuery() - Method in class info.aduna.net.ParsedURI
-
- 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.
- getScheme() - Method in class info.aduna.net.ParsedURI
-
- getSchemeSpecificPart() - Method in class info.aduna.net.ParsedURI
-
- 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
-
- gsub(String, String, String) - Static method in class info.aduna.text.StringUtil
-
Substitute String "old" by String "new" in String "text" everywhere.
- GZipUtil - Class in info.aduna.io
-
GZip-related utilities.
- GZipUtil() - Constructor for class info.aduna.io.GZipUtil
-
- 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
-
- info.aduna.lang - package info.aduna.lang
-
- info.aduna.lang.service - package info.aduna.lang.service
-
- info.aduna.net - package info.aduna.net
-
- info.aduna.text - package info.aduna.text
-
- info.aduna.xml - package info.aduna.xml
-
- 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
-
- isAbsolute() - Method in class info.aduna.net.ParsedURI
-
- isClosed() - Method in class info.aduna.io.NioFile
-
- isCombiningChar(char) - Static method in class info.aduna.xml.XMLUtil
-
- isDigit(char) - Static method in class info.aduna.xml.XMLUtil
-
- isExtender(char) - Static method in class info.aduna.xml.XMLUtil
-
- isGarbageText(String) - Static method in class info.aduna.text.StringUtil
-
Titles shorter than MIN_TITLE_LENGTH and long titles that don't contain a
single space character are considered to be garbage.
- isGZipStream(InputStream) - Static method in class info.aduna.io.GZipUtil
-
- isHierarchical() - Method in class info.aduna.net.ParsedURI
-
- isIdeographic(char) - Static method in class info.aduna.xml.XMLUtil
-
- 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.
- isLetter(int) - Static method in class info.aduna.text.ASCIIUtil
-
Checks whether the supplied character is a letter.
- isLetter(char) - Static method in class info.aduna.xml.XMLUtil
-
- isLetterOrNumber(int) - Static method in class info.aduna.text.ASCIIUtil
-
Checks whether the supplied character is a letter or number.
- isLowerCaseLetter(int) - Static method in class info.aduna.text.ASCIIUtil
-
Checks whether the supplied character is an lower-case letter.
- isNCName(String) - Static method in class info.aduna.xml.XMLUtil
-
- isNCNameChar(char) - Static method in class info.aduna.xml.XMLUtil
-
- isNumber(int) - Static method in class info.aduna.text.ASCIIUtil
-
Checks whether the supplied character is a number
- isOpaque() - Method in class info.aduna.net.ParsedURI
-
- isPreserveWhitespace() - Method in class info.aduna.xml.SimpleSAXParser
-
Checks whether leading and trailing whitespace characters in text elements
are preserved.
- isRelative() - Method in class info.aduna.net.ParsedURI
-
- isSelfReference() - Method in class info.aduna.net.ParsedURI
-
Checks whether this URI is a relative URI that references itself (i.e.
- isUpperCaseLetter(int) - Static method in class info.aduna.text.ASCIIUtil
-
Checks whether the supplied character is an upper-case letter.
- isValidCharacterDataChar(char) - Static method in class info.aduna.xml.XMLUtil
-
Returns whether the specified character can appear in XML character data.
- isValidCharacterDataChar(int) - Static method in class info.aduna.xml.XMLUtil
-
Returns whether the specified character can appear in XML character data.
- isZipStream(InputStream) - Static method in class info.aduna.io.ZipUtil
-
- Iterators - Class in org.openrdf.util.iterators
-
This class consists exclusively of static methods that operate on or return
iterators.
- Iterators() - Constructor for class org.openrdf.util.iterators.Iterators
-
- read(ByteBuffer, long) - Method in class info.aduna.io.NioFile
-
- 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.
- remove(S) - Method in class info.aduna.lang.service.ServiceRegistry
-
Removes a service from the registry.
- remove() - Method in class org.openrdf.util.iterators.ConvertingIterator
-
Calls remove() on the underlying itertor.
- remove() - Method in class org.openrdf.util.iterators.EmptyIterator
-
- remove() - Method in class org.openrdf.util.iterators.FilterIterator
-
- remove() - Method in class org.openrdf.util.iterators.SingletonIterator
-
- removeInvalidCharacterDataChars(String) - Static method in class info.aduna.xml.XMLUtil
-
Removes all non-valid XML character data chars from the specified String.
- resolve(String) - Method in class info.aduna.net.ParsedURI
-
Resolves a relative URI using this URI as the base URI.
- resolve(ParsedURI) - Method in class info.aduna.net.ParsedURI
-
Resolves a relative URI using this URI as the base URI.
- resolveEntities(String) - Static method in class info.aduna.xml.XMLUtil
-
Replaces all XML character entities with the character they represent.
- resolveEntity(String) - Static method in class info.aduna.xml.XMLUtil
-
Resolves an entity reference or character reference to its value.
- 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
-
- ServiceRegistry<K,S> - Class in info.aduna.lang.service
-
A registry that stores services by some key.
- ServiceRegistry(Class<S>) - Constructor for class info.aduna.lang.service.ServiceRegistry
-
- services - Variable in class info.aduna.lang.service.ServiceRegistry
-
- setAttribute(String, String) - Method in class info.aduna.xml.XMLWriter
-
Sets an attribute for the next start tag.
- setAttribute(String, int) - Method in class info.aduna.xml.XMLWriter
-
Sets an attribute for the next start element.
- setAttribute(String, boolean) - Method in class info.aduna.xml.XMLWriter
-
Sets an attribute for the next start element.
- 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.
- setIndentString(String) - Method in class info.aduna.xml.XMLWriter
-
Sets the string that should be used for indentation when pretty-printing
is enabled.
- setListener(SimpleSAXListener) - Method in class info.aduna.xml.SimpleSAXParser
-
Sets the (new) listener that should receive any events from this parser.
- setPreserveWhitespace(boolean) - Method in class info.aduna.xml.SimpleSAXParser
-
Sets whether leading and trailing whitespace characters in text elements
should be preserved.
- setPrettyPrint(boolean) - Method in class info.aduna.xml.XMLWriter
-
Enables or disables pretty-printing.
- SimpleSAXAdapter - Class in info.aduna.xml
-
An implementation of SimpleSAXListener providing dummy
implementations for all its methods.
- SimpleSAXAdapter() - Constructor for class info.aduna.xml.SimpleSAXAdapter
-
- SimpleSAXListener - Interface in info.aduna.xml
-
A listener for events reported by SimpleSAXParser.
- SimpleSAXParser - Class in info.aduna.xml
-
An XML parser that generates "simple" SAX-like events from a limited subset
of XML documents.
- SimpleSAXParser(XMLReader) - Constructor for class info.aduna.xml.SimpleSAXParser
-
Creates a new SimpleSAXParser that will use the supplied
XMLReader for parsing the XML.
- SimpleSAXParser() - Constructor for class info.aduna.xml.SimpleSAXParser
-
Creates a new SimpleSAXParser that will try to create a new
XMLReader using info.aduna.xml.XMLReaderFactory for
parsing the XML.
- SingletonIterator<E> - Class in org.openrdf.util.iterators
-
An iterator that contains exactly one element.
- SingletonIterator(E) - Constructor for class org.openrdf.util.iterators.SingletonIterator
-
Creates a new EmptyIterator.
- size() - Method in class info.aduna.io.NioFile
-
- startDocument() - Method in class info.aduna.xml.SimpleSAXAdapter
-
- startDocument() - Method in interface info.aduna.xml.SimpleSAXListener
-
Notifies the listener that the parser has started parsing.
- startDocument() - Method in class info.aduna.xml.XMLWriter
-
Writes the XML header for the XML file.
- startTag(String, Map<String, String>, String) - Method in class info.aduna.xml.SimpleSAXAdapter
-
- startTag(String, Map<String, String>, String) - Method in interface info.aduna.xml.SimpleSAXListener
-
Reports a start tag to the listener.
- startTag(String) - Method in class info.aduna.xml.XMLWriter
-
Writes a start tag containing the previously set attributes.
- StringUtil - Class in info.aduna.text
-
- StringUtil() - Constructor for class info.aduna.text.StringUtil
-