|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.system.ShortcutName
public class ShortcutName
GxObject that represents the shortcut Name Object.
| Constructor Summary | |
|---|---|
ShortcutName()
Constructs a ShortcutName using ArcGIS Engine. |
|
ShortcutName(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ShortcutName theShortcutName = (ShortcutName) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getNameString()
The name string of the object. |
String |
getPath()
Pathname to the file. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
IName |
getTargetName()
The value of the TargetName property. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
Object |
open()
Opens the object referred to by this name. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setNameString(String nameString)
The name string of the object. |
void |
setPath(String path)
Pathname to the file. |
void |
setTargetNameByRef(IName ppTargetName)
The value of the TargetName property. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public ShortcutName()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public ShortcutName(Object obj)
throws IOException
ShortcutName theShortcutName = (ShortcutName) obj;
obj to ShortcutName.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setNameString(String nameString)
throws IOException,
AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
setNameString in interface INamenameString - The nameString (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNameString()
throws IOException,
AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
getNameString in interface INameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object open()
throws IOException,
AutomationException
The Open method lets you instantiate the actual object given the name object.
Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.
IName pName = pFeatureClassName;
pFeatureClass = new IFeatureClassProxy(pName.open());
open in interface INameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPath(String path)
throws IOException,
AutomationException
setPath in interface IFileNamepath - The path (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getPath()
throws IOException,
AutomationException
The Path to the file. The data specified by the Path does not necessarily have to exist in a directory structure.
When using a FileName, the IName::Open method does not function properly, so you need to use whatever programmatic file-access technique is appropriate from your
development environment standpoint.
getPath in interface IFileNameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IName getTargetName()
throws IOException,
AutomationException
getTargetName in interface IShortcutNameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTargetNameByRef(IName ppTargetName)
throws IOException,
AutomationException
setTargetNameByRef in interface IShortcutNameppTargetName - A reference to a com.esri.arcgis.system.IName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||