Package de.intarsys.tools.locator
Class ReadOnlyLocator
- java.lang.Object
-
- de.intarsys.tools.locator.DelegatingLocator
-
- de.intarsys.tools.locator.ReadOnlyLocator
-
- All Implemented Interfaces:
IAdapterSupport
,ISynchronizable
,ILocator
public class ReadOnlyLocator extends DelegatingLocator
A simple read only locator.
-
-
Field Summary
-
Fields inherited from class de.intarsys.tools.locator.DelegatingLocator
delegate
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyLocator(ILocator delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isReadOnly()
true
if the specified resource is read only.-
Methods inherited from class de.intarsys.tools.locator.DelegatingLocator
delete, exists, getAdapter, getChild, getDelegate, getFullName, getInputStream, getLength, getLocalName, getOutputStream, getParent, getRandomAccess, getReader, getReader, getType, getTypedName, getWriter, getWriter, isDirectory, isOutOfSynch, listLocators, rename, setReadOnly, synch, toURL
-
-
-
-
Constructor Detail
-
ReadOnlyLocator
public ReadOnlyLocator(ILocator delegate)
-
-
Method Detail
-
isReadOnly
public boolean isReadOnly()
Description copied from interface:ILocator
true
if the specified resource is read only.- Specified by:
isReadOnly
in interfaceILocator
- Overrides:
isReadOnly
in classDelegatingLocator
- Returns:
true
if the specified resource is read only.
-
-