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
A simple read only locator.
-
Field Summary
Fields inherited from class de.intarsys.tools.locator.DelegatingLocator
delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantrueif 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 Details
-
ReadOnlyLocator
-
-
Method Details
-
isReadOnly
public boolean isReadOnly()Description copied from interface:ILocatortrueif the specified resource is read only.- Specified by:
isReadOnlyin interfaceILocator- Overrides:
isReadOnlyin classDelegatingLocator- Returns:
trueif the specified resource is read only.
-