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.
Method Summary |
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 |
ReadOnlyLocator
public ReadOnlyLocator(ILocator delegate)
isReadOnly
public boolean isReadOnly()
- Description copied from interface:
ILocator
true
if the specified resource is read only.
- Specified by:
isReadOnly
in interface ILocator
- Overrides:
isReadOnly
in class DelegatingLocator
- Returns:
true
if the specified resource is read only.
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.