| Package | Description |
|---|---|
| de.intarsys.tools.converter | |
| de.intarsys.tools.functor | |
| de.intarsys.tools.infoset | |
| de.intarsys.tools.locator | |
| de.intarsys.tools.locator.trusted | |
| de.intarsys.tools.result |
| Modifier and Type | Method and Description |
|---|---|
ILocator |
LocatorFromArgsConverter.convert(IArgs source) |
ILocator |
LocatorFromStringConverter.convert(String source) |
| Modifier and Type | Method and Description |
|---|---|
static ILocator |
ArgTools.getLocator(IArgs args,
String name,
ILocator defaultValue,
ILocatorFactory factory)
The argument value at
name as a ILocator. |
| Modifier and Type | Method and Description |
|---|---|
static List<ILocator> |
ArgTools.getLocators(IArgs args,
String name,
ILocatorFactory factory)
The argument value at
name as a List |
| Modifier and Type | Method and Description |
|---|---|
static ILocator |
ArgTools.getLocator(IArgs args,
String name,
ILocator defaultValue,
ILocatorFactory factory)
The argument value at
name as a ILocator. |
| Modifier and Type | Method and Description |
|---|---|
static IDocument |
DocumentTools.parse(ILocator locator) |
static void |
DocumentTools.save(IDocument doc,
ILocator locator) |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteArrayLocator
An adapter from a byte[] object to
ILocator. |
class |
ClassLoaderResourceLocator
An
ILocator for resources accessible by a class loader. |
class |
ClassResourceLocator
An
ILocator for resources accessible by a class loader. |
class |
CommonLocator
An abstract superclass for implementing
ILocator. |
class |
DelegatingLocator
An adapter for implementing a delegation model on the
ILocator |
class |
FailedLocator
A placeholder for delayed failure detection.
|
class |
FileLocator
File based implementation of
ILocator. |
class |
ImmutableDelegatingLocator
Superclass for implementing a delegation model on an immutable wrapped
ILocator. |
class |
LocatorByReference
This
ILocator serves as an adapter for an ILocatorSupport
instance. |
class |
LocatorViewport
A viewport implementation for
ILocator. |
class |
MutableDelegatingLocator
Superclass for implementing a delegation model on an MUTABLE wrapped
ILocator. |
class |
NoopLocator
A no op
ILocator. |
class |
ReadOnlyLocator
A read only
ILocator decoration. |
class |
RenamedLocator
A name swapping decoration.
|
class |
StreamLocator
An adapter from
InputStream to ILocator. |
class |
StringLocator
|
class |
TransientLocator
A "non persistent"
ILocator. |
class |
URLLocator
An
ILocator for URL-based access. |
class |
ZipFileLocator
!
|
| Modifier and Type | Method and Description |
|---|---|
static ILocator |
LocatorTools.createLocator(Object value,
ILocatorFactory factory,
ILocator defaultValue) |
ILocator |
ILocatorFactory.createLocator(String location)
Create an
ILocator. |
ILocator |
CommonLocatorFactory.createLocator(String location) |
static ILocator[] |
LocatorTools.createLocators(String paths,
ILocatorFactory factory) |
static ILocator |
LocatorTools.createTempLocator(ILocator locator)
A new temporary
ILocator with a copy of the data from "locator". |
static ILocator |
LocatorTools.createTempLocator(ILocator locator,
boolean keepName)
A new temporary
ILocator with a copy of the data from "locator". |
ILocator |
ZipFileLocator.getChild(String name) |
ILocator |
URLLocator.getChild(String childName) |
ILocator |
TransientLocator.getChild(String name) |
ILocator |
StringLocator.getChild(String child) |
ILocator |
StreamLocator.getChild(String child) |
ILocator |
NoopLocator.getChild(String name) |
ILocator |
LocatorViewport.getChild(String name) |
ILocator |
LocatorByReference.getChild(String name) |
ILocator |
ILocator.getChild(String name)
The locator for the resource
name within the context of
this. |
ILocator |
FileLocator.getChild(String name) |
ILocator |
FailedLocator.getChild(String name) |
ILocator |
DelegatingLocator.getChild(String name) |
ILocator |
ClassResourceLocator.getChild(String childName) |
ILocator |
ClassLoaderResourceLocator.getChild(String childName) |
ILocator |
ByteArrayLocator.getChild(String name) |
ILocator |
LocatorViewport.getDelegate() |
ILocator |
RelativeLocatorFactory.getLocator() |
ILocator |
MutableDelegatingLocator.getLocator()
Get the underlying locator instance.
|
ILocator |
ILocatorSupport.getLocator()
Return the
ILocator that defines the physical resource or base
location for the receiver. |
ILocator |
ZipFileLocator.getParent() |
ILocator |
URLLocator.getParent() |
ILocator |
TransientLocator.getParent() |
ILocator |
StringLocator.getParent() |
ILocator |
StreamLocator.getParent() |
ILocator |
NoopLocator.getParent() |
ILocator |
LocatorViewport.getParent() |
ILocator |
LocatorByReference.getParent() |
ILocator |
ILocator.getParent()
The
ILocator that is one hierarchy level up or null. |
ILocator |
FileLocator.getParent() |
ILocator |
FailedLocator.getParent() |
ILocator |
DelegatingLocator.getParent() |
ILocator |
ClassResourceLocator.getParent() |
ILocator |
ClassLoaderResourceLocator.getParent() |
ILocator |
ByteArrayLocator.getParent() |
ILocator[] |
ZipFileLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
URLLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
TransientLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
StringLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
StreamLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
NoopLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
LocatorViewport.listLocators(ILocatorNameFilter filter) |
ILocator[] |
LocatorByReference.listLocators(ILocatorNameFilter filter) |
ILocator[] |
ILocator.listLocators(ILocatorNameFilter filter)
Return an array of
ILocator that are children of the receiver
that conform to filter. |
ILocator[] |
FileLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
FailedLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
DelegatingLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
ClassResourceLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
ClassLoaderResourceLocator.listLocators(ILocatorNameFilter filter) |
ILocator[] |
ByteArrayLocator.listLocators(ILocatorNameFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ILocator> |
MappedLocatorLookup.getMaps() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ILocatorNameFilter.accept(ILocator parent,
String name)
|
void |
MappedLocatorLookup.addMap(String name,
ILocator locator) |
static void |
LocatorTools.checkHash(ILocator locator,
Object hash) |
static void |
LocatorTools.checkHash(ILocator locator,
String algorithmName,
Object hash)
Deprecated.
|
static void |
LocatorTools.copy(ILocator source,
ILocator target)
Copy locator content.
|
static ILocator |
LocatorTools.createLocator(Object value,
ILocatorFactory factory,
ILocator defaultValue) |
static File |
LocatorTools.createTempFile(ILocator locator)
A temporary
File with a copy of the data from "locator". |
static ILocator |
LocatorTools.createTempLocator(ILocator locator)
A new temporary
ILocator with a copy of the data from "locator". |
static ILocator |
LocatorTools.createTempLocator(ILocator locator,
boolean keepName)
A new temporary
ILocator with a copy of the data from "locator". |
static IDigest |
LocatorTools.digest(ILocator locator,
IDigester digester) |
static IDigest |
LocatorTools.digest(ILocator locator,
String algorithmName) |
static byte[] |
LocatorTools.getBytes(ILocator locator)
The bytes referenced by "locator".
|
static File |
LocatorTools.getFile(ILocator locator) |
static String |
LocatorTools.getString(ILocator locator)
The
String data referenced by "locator". |
static String |
LocatorTools.getString(ILocator locator,
String defaultCharsetName,
int size)
The
String data referenced by "locator". |
static void |
LocatorTools.putBytes(ILocator locator,
byte[] bytes)
Write bytes to locator.
|
static void |
LocatorTools.putString(ILocator locator,
String string)
Write string to locator.
|
static void |
LocatorTools.save(ILocator locator,
File file)
Save "locator"s content to a file.
|
| Constructor and Description |
|---|
ImmutableDelegatingLocator(ILocator locator) |
LocatorViewport(ILocator delegate) |
MutableDelegatingLocator(ILocator locator) |
ReadOnlyLocator(ILocator delegate) |
RelativeLocatorFactory(ILocator locator) |
RenamedLocator(ILocator delegate) |
RenamedLocator(ILocator delegate,
String fullName) |
ZipFileLocator(ILocator zipLocator,
String path) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ITrustedLocator
This
ILocator guarantees that a change to its physical resource while
its is used by application code will be detected or healed. |
| Modifier and Type | Class and Description |
|---|---|
class |
HashedTrustedLocator |
class |
MemoryTrustedLocator
This
ILocator controls manipulation of its data resource simply by
copying it completely to memory. |
class |
TrustedLocator
A common superclass for implementing
ITrustedLocator |
| Modifier and Type | Method and Description |
|---|---|
ILocator |
TrustedLocator.getChild(String name) |
ILocator |
TrustedLocator.getParent() |
ILocator |
TrustedLocator.getWrapped()
The wrapped
ILocator for this. |
ILocator[] |
TrustedLocator.listLocators(ILocatorNameFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
TrustedLocator.ensureEqual(ILocator locator) |
void |
ITrustedLocator.ensureEqual(ILocator locator)
Check if
locator references data that is equal to the
one referenced by this. |
| Constructor and Description |
|---|
MemoryTrustedLocator(TrustedLocatorFactory factory,
ILocator wrapped) |
TrustedLocator(TrustedLocatorFactory factory,
ILocator wrapped) |
| Modifier and Type | Method and Description |
|---|---|
ILocator |
StringBasedResult.getLocator() |
ILocator |
LocatorBasedResult.getLocator() |
ILocator |
ByteBasedResult.getLocator() |
| Constructor and Description |
|---|
LocatorBasedResult(ILocator locator,
String contentType)
Deprecated.
used from scripts
|
LocatorBasedResult(String contentType,
ILocator locator) |
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.