|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.locator.DelegatingLocator
de.intarsys.tools.locator.RenamedLocator
public class RenamedLocator
| Constructor Summary | |
|---|---|
RenamedLocator(ILocator delegate)
|
|
RenamedLocator(ILocator delegate,
String fullName)
|
|
| Method Summary | |
|---|---|
String |
getFullName()
The full physical name of this. |
String |
getLocalName()
The local name of the receiver within its parent. |
String |
getTypedName()
The qualified local name of the receiver within its parent that includes the type specification for the destination if appropriate. |
void |
rename(String newName)
Rename the complete physical name to newName. |
| Methods inherited from class de.intarsys.tools.locator.DelegatingLocator |
|---|
delete, exists, getAdapter, getChild, getDelegate, getInputStream, getLength, getOutputStream, getParent, getRandomAccess, getReader, getReader, getType, getWriter, getWriter, isDirectory, isOutOfSynch, isReadOnly, listLocators, setReadOnly, synch, toURL |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenamedLocator(ILocator delegate)
public RenamedLocator(ILocator delegate,
String fullName)
| Method Detail |
|---|
public String getFullName()
ILocatorThis 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 ILocatorgetFullName in class DelegatingLocatorpublic String getLocalName()
ILocator
getLocalName in interface ILocatorgetLocalName in class DelegatingLocatorpublic String getTypedName()
ILocator
getTypedName in interface ILocatorgetTypedName in class DelegatingLocator
public void rename(String newName)
throws IOException
ILocatornewName.
rename in interface ILocatorrename in class DelegatingLocatornewName - The new name of the ILocator. The new name is
expected to contain both local and type part of the name.
IOException
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||