A B C D E F G I M N O P R S T U W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- a(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
attribute(String, String)
. - assertCurrentElementHasNoTextNodes() - Method in class com.jamesmurty.utils.XMLBuilder
- asString() - Method in class com.jamesmurty.utils.XMLBuilder
-
Serialize the XML document to a string excluding the XML declaration.
- asString(Properties) - Method in class com.jamesmurty.utils.XMLBuilder
-
Serialize the XML document to a string by delegating to the
toWriter(Writer, Properties)
method. - attr(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
attribute(String, String)
. - attribute(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Add a named attribute value to the element represented by this builder node, and return the node representing the element to which the attribute was added (not the new attribute node).
B
- Base64 - Class in net.iharder.base64
-
Encodes and decodes to and from Base64 notation.
- Base64.InputStream - Class in net.iharder.base64
-
A
Base64.InputStream
will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly. - Base64.OutputStream - Class in net.iharder.base64
-
A
Base64.OutputStream
will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
C
- c(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
comment(String)
. - cdata(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder
-
Add a CDATA value to the element represented by this builder node, and return the node representing the element to which the data was added (not the new CDATA node).
- close() - Method in class net.iharder.base64.Base64.OutputStream
-
Flushes and closes (I think, in the superclass) the stream.
- cmnt(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
comment(String)
. - com.jamesmurty.utils - package com.jamesmurty.utils
- comment(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Add a comment to the element represented by this builder node, and return the node representing the element to which the comment was added (not the new comment node).
- create(String) - Static method in class com.jamesmurty.utils.XMLBuilder
-
Construct a builder for new XML document.
D
- d(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
#cdata(String)
. - data(byte[]) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
#cdata(String)
. - decode(byte[], int, int, int) - Static method in class net.iharder.base64.Base64
-
Very low-level access to decoding ASCII characters in the form of a byte array.
- decode(String) - Static method in class net.iharder.base64.Base64
-
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
- decode(String, int) - Static method in class net.iharder.base64.Base64
-
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
- DECODE - Static variable in class net.iharder.base64.Base64
-
Specify decoding.
- decodeFileToFile(String, String) - Static method in class net.iharder.base64.Base64
-
Reads infile and decodes it to outfile.
- decodeFromFile(String) - Static method in class net.iharder.base64.Base64
-
Convenience method for reading a base64-encoded file and decoding it.
- decodeToFile(String, String) - Static method in class net.iharder.base64.Base64
-
Convenience method for decoding data to a file.
- decodeToObject(String) - Static method in class net.iharder.base64.Base64
-
Attempts to decode Base64 data and deserialize a Java Object within.
- DONT_BREAK_LINES - Static variable in class net.iharder.base64.Base64
-
Don't break lines when encoding (violates strict Base64 specification)
E
- e(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
element(String)
. - elem(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
element(String)
. - element(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Add a named XML element to the document as a child of this builder node, and return the builder node representing the new child.
- ENCODE - Static variable in class net.iharder.base64.Base64
-
Specify encoding.
- encodeBytes(byte[]) - Static method in class net.iharder.base64.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int) - Static method in class net.iharder.base64.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int) - Static method in class net.iharder.base64.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int, int) - Static method in class net.iharder.base64.Base64
-
Encodes a byte array into Base64 notation.
- encodeFileToFile(String, String) - Static method in class net.iharder.base64.Base64
-
Reads infile and encodes it to outfile.
- encodeFromFile(String) - Static method in class net.iharder.base64.Base64
-
Convenience method for reading a binary file and base64-encoding it.
- encodeObject(Serializable) - Static method in class net.iharder.base64.Base64
-
Serializes an object and returns the Base64-encoded version of that serialized object.
- encodeObject(Serializable, int) - Static method in class net.iharder.base64.Base64
-
Serializes an object and returns the Base64-encoded version of that serialized object.
- encodeToFile(byte[], String) - Static method in class net.iharder.base64.Base64
-
Convenience method for encoding data to a file.
- equals(Object) - Method in class com.jamesmurty.utils.XMLBuilder
F
- flushBase64() - Method in class net.iharder.base64.Base64.OutputStream
-
Method added by PHIL.
G
- getDocument() - Method in class com.jamesmurty.utils.XMLBuilder
- getElement() - Method in class com.jamesmurty.utils.XMLBuilder
- GZIP - Static variable in class net.iharder.base64.Base64
-
Specify that data should be gzip-compressed.
I
- i(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
instruction(String, String)
. - importXMLBuilder(XMLBuilder) - Method in class com.jamesmurty.utils.XMLBuilder
-
Imports another XMLBuilder document into this document at the current position.
- InputStream(InputStream) - Constructor for class net.iharder.base64.Base64.InputStream
-
Constructs a
Base64.InputStream
in DECODE mode. - InputStream(InputStream, int) - Constructor for class net.iharder.base64.Base64.InputStream
-
Constructs a
Base64.InputStream
in either ENCODE or DECODE mode. - inst(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
instruction(String, String)
. - instruction(String, String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Add an instruction to the element represented by this builder node, and return the node representing the element to which the instruction was added (not the new instruction node).
M
- main(String[]) - Static method in class net.iharder.base64.Base64
-
Encodes or decodes two files from the command line; feel free to delete this method (in fact you probably should) if you're embedding this code into a larger program.
N
- net.iharder.base64 - package net.iharder.base64
- NO_OPTIONS - Static variable in class net.iharder.base64.Base64
-
No options specified.
O
- ORDERED - Static variable in class net.iharder.base64.Base64
-
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
- OutputStream(OutputStream) - Constructor for class net.iharder.base64.Base64.OutputStream
-
Constructs a
Base64.OutputStream
in ENCODE mode. - OutputStream(OutputStream, int) - Constructor for class net.iharder.base64.Base64.OutputStream
-
Constructs a
Base64.OutputStream
in either ENCODE or DECODE mode.
P
- parse(InputSource) - Static method in class com.jamesmurty.utils.XMLBuilder
-
Construct a builder from an existing XML document.
R
- r(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
reference(String)
. - read() - Method in class net.iharder.base64.Base64.InputStream
-
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
- read(byte[], int, int) - Method in class net.iharder.base64.Base64.InputStream
-
Calls
Base64.InputStream.read()
repeatedly until the end of stream is reached or len bytes are read. - ref(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonym for
reference(String)
. - reference(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Add a reference to the element represented by this builder node, and return the node representing the element to which the reference was added (not the new reference node).
- resumeEncoding() - Method in class net.iharder.base64.Base64.OutputStream
-
Resumes encoding of the stream.
- root() - Method in class com.jamesmurty.utils.XMLBuilder
S
- suspendEncoding() - Method in class net.iharder.base64.Base64.OutputStream
-
Suspends encoding of the stream.
T
- t(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Synonmy for
text(String)
. - text(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Add a text value to the element represented by this builder node, and return the node representing the element to which the text was added (not the new text node).
- toWriter(Writer, Properties) - Method in class com.jamesmurty.utils.XMLBuilder
-
Serialize the XML document to the given writer using the default
TransformerFactory
andTransformer
classes.
U
- up() - Method in class com.jamesmurty.utils.XMLBuilder
-
Return the builder node representing the parent of the current node.
- up(int) - Method in class com.jamesmurty.utils.XMLBuilder
-
Return the builder node representing the nth ancestor element of this node, or the root node if n exceeds the document's depth.
- URL_SAFE - Static variable in class net.iharder.base64.Base64
-
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
W
- write(byte[], int, int) - Method in class net.iharder.base64.Base64.OutputStream
-
Calls
Base64.OutputStream.write(int)
repeatedly until len bytes are written. - write(int) - Method in class net.iharder.base64.Base64.OutputStream
-
Writes the byte to the output stream after converting to/from Base64 notation.
X
- XMLBuilder - Class in com.jamesmurty.utils
-
XML Builder is a utility that creates simple XML documents using relatively sparse Java code.
- XMLBuilder(Document) - Constructor for class com.jamesmurty.utils.XMLBuilder
-
Construct a new builder object that wraps the given XML document.
- XMLBuilder(Element, Element) - Constructor for class com.jamesmurty.utils.XMLBuilder
-
Construct a new builder object that wraps the given XML document and element element.
- xpathFind(String) - Method in class com.jamesmurty.utils.XMLBuilder
-
Find the first element in the builder's DOM matching the given XPath expression.
All Classes All Packages