de.intarsys.tools.locator
Class ReadOnlyLocator

java.lang.Object
  extended by de.intarsys.tools.locator.DelegatingLocator
      extended by 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
ReadOnlyLocator(ILocator delegate)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface ILocator
Overrides:
isReadOnly in class DelegatingLocator
Returns:
true if the specified resource is read only.