content
protected byte[] content
ISynchronizable
, ILocator
, Serializable
ILocator
.ByteArrayLocator(byte[] data,
String pFullName)
ByteArrayLocator(byte[] data,
String pName,
String pType)
void
delete()
boolean
exists()
true
if the location designated by this exists.byte[]
getBytes()
name
within the context of
this.byte[]
InputStream
on the data represented by the receiver.long
OutputStream
on the location represented by the
receiver.ILocator
that is one hierarchy level up or null.IRandomAccess
for this.Reader
on the data represented by the receiver.Reader
on the data represented by the receiver for the given
encoding.getType()
Writer
on the location represented by the receiver.Writer
on the location represented by the receiver for the
given encoding.boolean
true
if the location designated by this is a
directory.boolean
true
if the component is out of synch.boolean
ILocator[]
listLocators(ILocatorNameFilter filter)
ILocator
that are children of the receiver
that conform to filter
.void
newName
.protected void
setFullName(String newName)
void
synch()
toURL()
URL
.createTempFileLocator, isReadOnly, setReadOnly
ILocator
delete
in interface ILocator
delete
in class CommonLocator
IOException
ILocator
true
if the location designated by this exists.ILocator
name
within the context of
this. This may for example be an ILocator
to a file within a
directory.ILocator
This method returns a representation that is proprietary to the underlying physical representation, for example a file name, a SQL statement or so on.
getFullName
in interface ILocator
ILocator
InputStream
on the data represented by the receiver.getInputStream
in interface ILocator
InputStream
on the data represented by the receiver.ILocator
getLength
in interface ILocator
getLength
in class CommonLocator
ILocator
getLocalName
in interface ILocator
ILocator
OutputStream
on the location represented by the
receiver.getOutputStream
in interface ILocator
OutputStream
on the location represented by the
receiver.ILocator
ILocator
that is one hierarchy level up or null. This may be
for example the directory where the currently designated resource is
found.ILocator
IRandomAccess
for this.getRandomAccess
in interface ILocator
IRandomAccess
for this.ILocator
Reader
on the data represented by the receiver.ILocator
Reader
on the data represented by the receiver for the given
encoding.getReader
in interface ILocator
encoding
- The encoding.Reader
on the data represented by the receiver for the
given encoding.IOException
ILocator
ILocator
getTypedName
in interface ILocator
ILocator
Writer
on the location represented by the receiver.ILocator
Writer
on the location represented by the receiver for the
given encoding.getWriter
in interface ILocator
encoding
- The encoding.Writer
on the location represented by the receiver for
the given encoding.IOException
ILocator
true
if the location designated by this is a
directory. A directory location serves as a container for other
resources, you can never getInputStream
on this.isDirectory
in interface ILocator
true
if the location designated by this is
a directory.ISynchronizable
true
if the component is out of synch.isOutOfSynch
in interface ISynchronizable
true
if the component is out of synch.ILocator
ILocator
that are children of the receiver
that conform to filter
. This method never returns null.listLocators
in interface ILocator
filter
- The filter used to examine the child resources.ILocator
objects that conform to the filter
argument.ILocator
newName
.rename
in interface ILocator
rename
in class CommonLocator
newName
- The new name of the ILocator
. The new name is
expected to contain both local and type part of the name.IOException
ISynchronizable
In case of a scheduled synchronization this may be called by an external daemon.
synch
in interface ISynchronizable
ILocator
URL
.