| Modifier and Type | Method and Description |
|---|---|
static ChangeLog |
ChangeLogSerializer.readChangeLog(IHasInputStream aISP)
Read the change log resource specified by the input stream provider using
the default logging callback.
|
static ChangeLog |
ChangeLogSerializer.readChangeLog(IHasInputStream aISP,
IChangeLogSerializerCallback aErrorCallback)
Read the change log resource specified by the input stream provider.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IHasInputStreamAndReader
A callback interface to retrieve
Reader objects based on
InputStreams. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IReadableResource
Base interface for an abstract readable resource.
|
interface |
IReadWriteResource
Base interface for an abstract resource that is both readable and writable.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClassPathResource
Wraps a class path object as a readable resource.
|
class |
FileSystemResource
Implementation of the
IReadableResource and
IWritableResource interfaces for file
system objects. |
class |
URLResource
Implementation of the
IReadableResource interface for URL objects. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMemoryReadableResource
Abstract base class for an
IReadableResource that is not really a
resource but where the API does not offer alternatives. |
class |
ReadableResourceByteArray
An in-memory
IReadableResource based on a byte array. |
class |
ReadableResourceInputStream
An in-memory
IReadableResource based on an InputStream. |
class |
ReadableResourceString
An in-memory
IReadableResource based on a String which is
converted to a byte array with the provided charset. |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
StreamHelper.getAllBytes(IHasInputStream aISP)
Read all bytes from the passed input stream into a byte array.
|
static String |
StreamHelper.getAllBytesAsString(IHasInputStream aISP,
Charset aCharset)
Read all bytes from the passed input stream into a string.
|
static List<String> |
StreamHelper.readStreamLines(IHasInputStream aISP,
Charset aCharset)
Get the content of the passed Spring resource as one big string in the
passed character set.
|
static List<String> |
StreamHelper.readStreamLines(IHasInputStream aISP,
Charset aCharset,
int nLinesToSkip,
int nLinesToRead)
Get the content of the passed Spring resource as one big string in the
passed character set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ByteArrayInputStreamProvider
An
InputStream provider based on a byte array. |
class |
ByteBufferInputStreamProvider
An
InputStream provider based on a
ByteBuffer. |
class |
StringInputStreamProvider
An
InputStream provider based on a String. |
| Modifier and Type | Class and Description |
|---|---|
class |
MicroDOMInputStreamProvider
A special input stream provider that takes an existing
IMicroNode and
converts it to a byte array. |
| Modifier and Type | Method and Description |
|---|---|
static IMicroDocument |
MicroReader.readMicroXML(IHasInputStream aISP) |
static IMicroDocument |
MicroReader.readMicroXML(IHasInputStream aISP,
ISAXReaderSettings aSettings) |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
XMLListHandler.readList(IHasInputStream aISP) |
static ESuccess |
XMLListHandler.readList(IHasInputStream aISP,
Collection<String> aTargetList) |
static Map<String,String> |
XMLMapHandler.readMap(IHasInputStream aISP) |
static ESuccess |
XMLMapHandler.readMap(IHasInputStream aISP,
Map<String,String> aTargetMap) |
| Modifier and Type | Method and Description |
|---|---|
IHasInputStream |
ResourceLSInput.getInputStreamProvider() |
| Constructor and Description |
|---|
ResourceLSInput(IHasInputStream aISP,
String sSystemID) |
| Modifier and Type | Method and Description |
|---|---|
IHasInputStream |
ReadableResourceSAXInputSource.getInputStreamProvider() |
| Modifier and Type | Method and Description |
|---|---|
static InputSource |
InputSourceFactory.create(IHasInputStream aISP) |
| Constructor and Description |
|---|
CachingSAXInputSource(IHasInputStream aISP) |
CachingSAXInputSource(IHasInputStream aISP,
String sSystemID) |
ReadableResourceSAXInputSource(IHasInputStream aISP,
String sSystemID) |
| Modifier and Type | Class and Description |
|---|---|
class |
DOMInputStreamProvider
A special input stream provider that takes an existing
Node and
converts it to a byte array. |
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
SAXReader.readXMLSAX(IHasInputStream aISP,
ISAXReaderSettings aSettings) |
| Modifier and Type | Method and Description |
|---|---|
IHasInputStream |
ResourceStreamSource.getInputStreamProvider() |
| Modifier and Type | Method and Description |
|---|---|
static StreamSource |
TransformSourceFactory.create(IHasInputStream aISP) |
| Constructor and Description |
|---|
CachingTransformStreamSource(IHasInputStream aIIS) |
CachingTransformStreamSource(IHasInputStream aIIS,
String sSystemID) |
ResourceStreamSource(IHasInputStream aISP,
String sSystemID) |
Copyright © 2014–2016 Philip Helger. All rights reserved.