com.esri.arcgis.server
Class ServerDirectoryInfo

java.lang.Object
  extended by com.esri.arcgis.server.ServerDirectoryInfo
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServerDirectoryInfo, IServerDirectoryInfo2, java.io.Serializable

public class ServerDirectoryInfo
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IServerDirectoryInfo, IServerDirectoryInfo2

COM Class 'ServerDirectoryInfo'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'

Description 'The ServerDirectoryInfo object which provides access to properties of a server output directory.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.server.IServerDirectoryInfo2
IID, IID2b0cc34c_e861_46ef_8bf0_308ab6113ce8, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerDirectoryInfo
IIDcf180145_bcfe_4d6f_ac53_3b9e127af840
 
Constructor Summary
ServerDirectoryInfo(java.lang.Object obj)
          Construct a ServerDirectoryInfo using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getCleaningMode()
          The mode by which the files in the server directory are cleaned (by age, by size or none).
 java.lang.String getDescription()
          The description of the server directory.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getMaxFileAge()
          The maximum age (in seconds) a file can be in the server directory before it is deleted, if the cleaning mode is by file age.
 java.lang.String getPath()
          The path of the output directory.
 int getType()
          The Type of server directory.
 java.lang.String getURL()
          The URL of the virtual directory that maps to the physical directory as described by the Path property.
 int hashCode()
          the hashcode for this object
 void release()
          Release a ServerDirectoryInfo.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerDirectoryInfo

public ServerDirectoryInfo(java.lang.Object obj)
                    throws java.io.IOException
Construct a ServerDirectoryInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ServerDirectoryInfo.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ServerDirectoryInfo o = (ServerDirectoryInfo)obj; // will not work

ServerDirectoryInfo o = new ServerDirectoryInfo(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems ServerDirectoryInfo theServerDirectoryInfo = (ServerDirectoryInfo) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ServerDirectoryInfo.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getPath

public java.lang.String getPath()
                         throws java.io.IOException,
                                AutomationException
The path of the output directory.

Specified by:
getPath in interface IServerDirectoryInfo
Returns:
The pPath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getURL

public java.lang.String getURL()
                        throws java.io.IOException,
                               AutomationException
The URL of the virtual directory that maps to the physical directory as described by the Path property.

Specified by:
getURL in interface IServerDirectoryInfo
Returns:
The pUrl
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
The description of the server directory.

Specified by:
getDescription in interface IServerDirectoryInfo
Returns:
The pText
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCleaningMode

public int getCleaningMode()
                    throws java.io.IOException,
                           AutomationException
The mode by which the files in the server directory are cleaned (by age, by size or none).

Specified by:
getCleaningMode in interface IServerDirectoryInfo
Returns:
A com.esri.arcgis.server.esriServerDirectoryCleaningMode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxFileAge

public int getMaxFileAge()
                  throws java.io.IOException,
                         AutomationException
The maximum age (in seconds) a file can be in the server directory before it is deleted, if the cleaning mode is by file age.

Specified by:
getMaxFileAge in interface IServerDirectoryInfo
Returns:
The pAge
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
The Type of server directory.

Specified by:
getType in interface IServerDirectoryInfo2
Returns:
A com.esri.arcgis.server.esriServerDirectoryType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.