Index
All Classes and Interfaces|All Packages
A
- AgentUtil - Class in io.sf.carte.util.agent
-
User agent utility methods.
- AgentUtil() - Constructor for class io.sf.carte.util.agent.AgentUtil
B
- BufferSimpleWriter - Class in io.sf.carte.util
-
An implementation of
SimpleWriter
backed by aStringBuilder
. - BufferSimpleWriter() - Constructor for class io.sf.carte.util.BufferSimpleWriter
-
Initializes a
BufferSimpleWriter
with an initial buffer capacity of 128 characters. - BufferSimpleWriter(int) - Constructor for class io.sf.carte.util.BufferSimpleWriter
-
Initializes a
BufferSimpleWriter
with an initial buffer capacity ofinitialCapacity
characters. - BufferSimpleWriter(StringBuilder) - Constructor for class io.sf.carte.util.BufferSimpleWriter
-
Initializes a
BufferSimpleWriter
with the given buffer.
D
- Diff<E> - Interface in io.sf.carte.util
-
Represents the differences between two objects.
F
- findCharset(String, int) - Static method in class io.sf.carte.util.agent.AgentUtil
-
Find the character encoding in a content-type string.
G
- getBuffer() - Method in class io.sf.carte.util.BufferSimpleWriter
-
Get the
StringBuilder
buffer. - getDifferent() - Method in interface io.sf.carte.util.Diff
-
Get an array with the elements that are present in both objects, but in a different way.
- getLeftSide() - Method in interface io.sf.carte.util.Diff
-
Get an array with the elements that are only present in the left object.
- getRightSide() - Method in interface io.sf.carte.util.Diff
-
Get an array with the elements that are only present in the right object.
H
- hasDifferences() - Method in interface io.sf.carte.util.Diff
-
Does this object contain any difference?
- hasNext() - Method in class io.sf.carte.util.SingleElementIterator
I
- inputStreamToReader(InputStream, String, String, Charset) - Static method in class io.sf.carte.util.agent.AgentUtil
- io.sf.carte.util - package io.sf.carte.util
-
Utility classes.
- io.sf.carte.util.agent - package io.sf.carte.util.agent
L
- length() - Method in class io.sf.carte.util.BufferSimpleWriter
-
Get the count of the characters in this object.
N
- newLine() - Method in class io.sf.carte.util.BufferSimpleWriter
- newLine() - Method in interface io.sf.carte.util.SimpleWriter
-
Write a newline according to the characteristics of the target platform.
- next() - Method in class io.sf.carte.util.SingleElementIterator
S
- SimpleWriter - Interface in io.sf.carte.util
-
A simple writer interface.
- SingleElementIterator<E> - Class in io.sf.carte.util
-
Iterates an immutable collection composed by a single element.
- SingleElementIterator(E) - Constructor for class io.sf.carte.util.SingleElementIterator
-
Construct a new iterator with the given element.
T
- toString() - Method in class io.sf.carte.util.BufferSimpleWriter
-
Return the contents of this buffer as a
String
.
U
- unwrite() - Method in class io.sf.carte.util.BufferSimpleWriter
-
Remove the last character found in this buffer, if any.
- unwrite(int) - Method in class io.sf.carte.util.BufferSimpleWriter
-
Remove the last
numChars
characters found in this buffer.
V
- visit(T) - Method in interface io.sf.carte.util.Visitor
-
Visit the given object.
- Visitor<T> - Interface in io.sf.carte.util
-
A visitor (from the 'visitor' pattern).
W
- write(char) - Method in class io.sf.carte.util.BufferSimpleWriter
- write(char) - Method in interface io.sf.carte.util.SimpleWriter
-
Write a character.
- write(char[], int, int) - Method in class io.sf.carte.util.BufferSimpleWriter
- write(char[], int, int) - Method in interface io.sf.carte.util.SimpleWriter
-
Write a sequence of characters from an array.
- write(int) - Method in class io.sf.carte.util.BufferSimpleWriter
- write(int) - Method in interface io.sf.carte.util.SimpleWriter
-
Write an integer.
- write(CharSequence) - Method in class io.sf.carte.util.BufferSimpleWriter
- write(CharSequence) - Method in interface io.sf.carte.util.SimpleWriter
-
Write a character sequence.
All Classes and Interfaces|All Packages