|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.Time
public class Time
An object that represents a date and time value.
Constructor Summary | |
---|---|
Time()
Constructs a Time using ArcGIS Engine. |
|
Time(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Time theTime = (Time) obj; |
Method Summary | |
---|---|
void |
addDays(double value)
Adds the input amount of days. |
void |
addDuration(ITimeDuration timeDuration)
Adds a time duration. |
void |
addHours(double value)
Adds the input amount of hours. |
void |
addMilliseconds(double value)
Adds the input amount of milliseconds. |
void |
addMinutes(double value)
Adds the input amount of minutes. |
boolean |
addMonths(double value,
boolean preserveEndOfMonth,
boolean goForwardOnInvalidDate)
Adds the input amount of months. |
void |
addNanoseconds(long value)
Adds the input amount of nanoseconds. |
void |
addSeconds(double value)
Adds the input amount of seconds. |
void |
addWeeks(double value)
Adds the input amount of weeks. |
boolean |
addYears(double value,
boolean preserveEndOfMonth,
boolean goForwardOnInvalidDate)
Adds the input amount of years. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
int |
compare(ITime otherTime)
Compares this time to the other time. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
short |
getDay()
The time's gregorian day. |
short |
getDayOfWeek()
The day number of the week, starting with 1 for Sunday. |
short |
getDayOfYear()
The day number of the year, starting with 1 for the first day of the year. |
short |
getHour()
The time's hour. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
short |
getMinute()
The time's minute. |
short |
getMonth()
The time's gregorian month. |
int |
getNanoseconds()
The time's nanoseconds. |
short |
getSecond()
The time's second. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
short |
getWeekOfMonth(short startDayOfWeek)
The week number of the month, starting with 1 for the first week of the month. |
short |
getWeekOfYear(short startDayOfWeek)
The week number of the year, starting with 1 for first week of the year. |
short |
getYear()
The time's gregorian year. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
void |
load(IStream pstm)
load |
double |
queryDayFraction()
The time's time portion as a day fraction. |
_WKSDateTime |
queryGregorianTime()
Obtains the time as a gregorian date and time. |
long |
queryIntegerTime(int integerTimeFormat)
Obtains the time as an integer time. |
int |
queryJulianDayNumber()
The Time's date portion as a julian (Julius Scaliger) day number. |
long |
queryNanosecondsSinceMidnight()
The time's time portion as the number of nanoseconds elapsed since midnight. |
Date |
queryOleTime()
Obtains the time as an OLE automation date object. |
long |
queryTicks()
Obtains the time as the number of ticks since January 1, 0001 AD (Anno Domini). |
String |
queryTimeString(int timeStringFormat)
Obtains the time as a string, based on the given time string format. |
String |
queryTimeStringCurrentLocale(int timeLocaleFormat)
Obtains the time as a string, based on the current locale. |
String |
queryTimeStringCustom(String timeStringFormat,
int localeID,
String amSymbol,
String pmSymbol)
Obtains the time as a string, based on the given custom time string format, and locale properties. |
String |
queryXMLTimeString(ITimeReference timeReference)
Obtains the time as an XML time string. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setDay(short day)
The time's gregorian day. |
void |
setDayFraction(double dayFraction)
The time's time portion as a day fraction. |
void |
setFromCurrentLocalTime()
Writes the time to the current date and time on this machine, expressed as the local time. |
void |
setFromCurrentUtcTime()
Writes the time to the current date and time on this machine, expressed as the Coordinated Universal Time (UTC). |
void |
setFromGregorianTime(_WKSDateTime gregorianTime)
Obtains the time from a given gregorian date and time value. |
void |
setFromIntegerTime(int integerTimeFormat,
long integerTime)
Writes the time from an integer time. |
void |
setFromObject(Object object)
Writes the time from a variant object. |
void |
setFromOleTime(Date oleTime)
Writes the time from an OLE automation date object. |
void |
setFromTicks(long ticks)
Writes the time from a given number of ticks since January 1, 0001 AD (Anno Domini) value. |
void |
setFromTimeString(int timeStringFormat,
String timeString)
Writes the time from a string, based on the given time string format. |
void |
setFromTimeStringCurrentLocale(int timeLocaleFormat,
String timeString)
Obtains the time from a string, based on the current locale. |
void |
setFromTimeStringCustom(String timeStringFormat,
int localeID,
String amSymbol,
String pmSymbol,
String timeString)
Writes the time from a string, based on the given custom time string formats, and locale properties. |
int |
setFromXMLTimeString(String xmlTimeString)
Writes the time from an XML time string. |
void |
setHour(short hour)
The time's hour. |
void |
setJulianDayNumber(int julianDayNumber)
The Time's date portion as a julian (Julius Scaliger) day number. |
void |
setMinute(short minute)
The time's minute. |
void |
setMonth(short month)
The time's gregorian month. |
void |
setNanoseconds(int nanoseconds)
The time's nanoseconds. |
void |
setNanosecondsSinceMidnight(long nanosecondsSinceMidnight)
The time's time portion as the number of nanoseconds elapsed since midnight. |
void |
setSecond(short second)
The time's second. |
void |
setYear(short year)
The time's gregorian year. |
void |
snapToEndOfMonth()
Adjust the day value, to the last day in the current month and year. |
void |
subtractDuration(ITimeDuration timeDuration)
Subtracts a time duration. |
ITimeDuration |
subtractTime(ITime time)
Subtracts a given time, and returns the time duration result. |
void |
toLocal()
Converts the time from Coordinated Universal Time (UTC) value to local (to this machine) time. |
void |
toUTC()
Converts the time from local (to this machine) time value to Coordinated Universal Time (UTC). |
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 Time() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic Time(Object obj) throws IOException
Time theTime = (Time) obj;
obj
to Time
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public short getYear() throws IOException, AutomationException
getYear
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setYear(short year) throws IOException, AutomationException
setYear
in interface ITime
year
- The year (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getMonth() throws IOException, AutomationException
getMonth
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMonth(short month) throws IOException, AutomationException
setMonth
in interface ITime
month
- The month (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getDay() throws IOException, AutomationException
getDay
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDay(short day) throws IOException, AutomationException
setDay
in interface ITime
day
- The day (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getHour() throws IOException, AutomationException
getHour
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHour(short hour) throws IOException, AutomationException
setHour
in interface ITime
hour
- The hour (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getMinute() throws IOException, AutomationException
getMinute
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMinute(short minute) throws IOException, AutomationException
setMinute
in interface ITime
minute
- The minute (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getSecond() throws IOException, AutomationException
getSecond
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSecond(short second) throws IOException, AutomationException
setSecond
in interface ITime
second
- The second (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNanoseconds() throws IOException, AutomationException
getNanoseconds
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNanoseconds(int nanoseconds) throws IOException, AutomationException
setNanoseconds
in interface ITime
nanoseconds
- The nanoseconds (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int queryJulianDayNumber() throws IOException, AutomationException
queryJulianDayNumber
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setJulianDayNumber(int julianDayNumber) throws IOException, AutomationException
setJulianDayNumber
in interface ITime
julianDayNumber
- The julianDayNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double queryDayFraction() throws IOException, AutomationException
queryDayFraction
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDayFraction(double dayFraction) throws IOException, AutomationException
setDayFraction
in interface ITime
dayFraction
- The dayFraction (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public long queryNanosecondsSinceMidnight() throws IOException, AutomationException
queryNanosecondsSinceMidnight
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNanosecondsSinceMidnight(long nanosecondsSinceMidnight) throws IOException, AutomationException
setNanosecondsSinceMidnight
in interface ITime
nanosecondsSinceMidnight
- Signed 64-bit int (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITimeDuration subtractTime(ITime time) throws IOException, AutomationException
This function subtracts the passed time value from the current time, and returns the difference in the TimeDuration parameter. If the passed time value is before the current time value, then the result will be positive. If the passed time value is after the current time value, then the result will be negative.
subtractTime
in interface ITime
time
- A reference to a com.esri.arcgis.system.ITime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void snapToEndOfMonth() throws IOException, AutomationException
SnapToEndOfMonth changes the current date of the Time object, but not the hours, minutes, or seconds. It changes the date to the last day of the month. If the current month is February, then the resulting date will depend on if the current year is a leap year.
snapToEndOfMonth
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void toUTC() throws IOException, AutomationException
toUTC
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void toLocal() throws IOException, AutomationException
toLocal
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String queryTimeString(int timeStringFormat) throws IOException, AutomationException
queryTimeString
in interface ITime
timeStringFormat
- A com.esri.arcgis.system.esriTimeStringFormat constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromTimeString(int timeStringFormat, String timeString) throws IOException, AutomationException
setFromTimeString
in interface ITime
timeStringFormat
- A com.esri.arcgis.system.esriTimeStringFormat constant (in)timeString
- The timeString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String queryTimeStringCurrentLocale(int timeLocaleFormat) throws IOException, AutomationException
queryTimeStringCurrentLocale
in interface ITime
timeLocaleFormat
- A com.esri.arcgis.system.esriTimeLocaleFormat constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromTimeStringCurrentLocale(int timeLocaleFormat, String timeString) throws IOException, AutomationException
setFromTimeStringCurrentLocale
in interface ITime
timeLocaleFormat
- A com.esri.arcgis.system.esriTimeLocaleFormat constant (in)timeString
- The timeString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String queryTimeStringCustom(String timeStringFormat, int localeID, String amSymbol, String pmSymbol) throws IOException, AutomationException
This function will provide a time/date string in a format specified by the time format string, date format string, and using the AM/PM designators. The time format string uses the following symbols:
h = hour (12 hour clock)
H = hour (24 hour clock)
m = minute
s = second
t = am/pm designator
hh,mm,ss indicate that there is a leading zero for values less than 10
h,m,s indicate that there is no leading zero
Note that the am/pm designator should not be present when the time is measured using a 24-hour clock
the AM/PM designators will only be used if the time string contains the "t" value
The date format string uses the following symbols:
M = month of the year
d = day of the month
y = year
MM and dd indicate that there is a leading zero when the month/day is less than 10
M and d indicate that there is no leading zero
yy indicates a 2 digit year
yyyy indicates a 4 digit year
queryTimeStringCustom
in interface ITime
timeStringFormat
- The timeStringFormat (in)localeID
- The localeID (in)amSymbol
- The amSymbol (in)pmSymbol
- The pmSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromTimeStringCustom(String timeStringFormat, int localeID, String amSymbol, String pmSymbol, String timeString) throws IOException, AutomationException
The passed time string is assumed to be in a format specified by the time format string, date format string, and using the AM/PM designators. The time format string uses the following symbols:
h = hour (12 hour clock)
H = hour (24 hour clock)
m = minute
s = second
t = am/pm designator
hh,mm,ss indicate that there is a leading zero for values less than 10
h,m,s indicate that there is no leading zero
Note that the am/pm designator should not be present when the time is measured using a 24-hour clock
the AM/PM designators will only be used if the time string contains the "t" value
The date format string uses the following symbols:
M = month of the year
d = day of the month
y = year
MM and dd indicate that there is a leading zero when the month/day is less than 10
M and d indicate that there is no leading zero
yy indicates a 2 digit year
yyyy indicates a 4 digit year
setFromTimeStringCustom
in interface ITime
timeStringFormat
- The timeStringFormat (in)localeID
- The localeID (in)amSymbol
- The amSymbol (in)pmSymbol
- The pmSymbol (in)timeString
- The timeString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String queryXMLTimeString(ITimeReference timeReference) throws IOException, AutomationException
queryXMLTimeString
in interface ITime
timeReference
- A reference to a com.esri.arcgis.system.ITimeReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int setFromXMLTimeString(String xmlTimeString) throws IOException, AutomationException
setFromXMLTimeString
in interface ITime
xmlTimeString
- The xmlTimeString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public long queryIntegerTime(int integerTimeFormat) throws IOException, AutomationException
queryIntegerTime
in interface ITime
integerTimeFormat
- A com.esri.arcgis.system.esriIntegerTimeFormat constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromIntegerTime(int integerTimeFormat, long integerTime) throws IOException, AutomationException
setFromIntegerTime
in interface ITime
integerTimeFormat
- A com.esri.arcgis.system.esriIntegerTimeFormat constant (in)integerTime
- Signed 64-bit int (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromObject(Object object) throws IOException, AutomationException
setFromObject
in interface ITime
object
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Date queryOleTime() throws IOException, AutomationException
queryOleTime
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromOleTime(Date oleTime) throws IOException, AutomationException
setFromOleTime
in interface ITime
oleTime
- The oleTime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public _WKSDateTime queryGregorianTime() throws IOException, AutomationException
queryGregorianTime
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromGregorianTime(_WKSDateTime gregorianTime) throws IOException, AutomationException
setFromGregorianTime
in interface ITime
gregorianTime
- A Structure: com.esri.arcgis.system._WKSDateTime (A com.esri.arcgis.system._WKSDateTime COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public long queryTicks() throws IOException, AutomationException
queryTicks
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromTicks(long ticks) throws IOException, AutomationException
setFromTicks
in interface ITime
ticks
- Signed 64-bit int (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromCurrentLocalTime() throws IOException, AutomationException
setFromCurrentLocalTime
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromCurrentUtcTime() throws IOException, AutomationException
setFromCurrentUtcTime
in interface ITime
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int compare(ITime otherTime) throws IOException, AutomationException
compare
in interface ITime
otherTime
- A reference to a com.esri.arcgis.system.ITime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getDayOfWeek() throws IOException, AutomationException
getDayOfWeek
in interface ITime2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getDayOfYear() throws IOException, AutomationException
getDayOfYear
in interface ITime2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getWeekOfMonth(short startDayOfWeek) throws IOException, AutomationException
getWeekOfMonth
in interface ITime2
startDayOfWeek
- The startDayOfWeek (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getWeekOfYear(short startDayOfWeek) throws IOException, AutomationException
getWeekOfYear
in interface ITime2
startDayOfWeek
- The startDayOfWeek (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDuration(ITimeDuration timeDuration) throws IOException, AutomationException
addDuration
in interface ITimeOffsetOperator
timeDuration
- A reference to a com.esri.arcgis.system.ITimeDuration (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void subtractDuration(ITimeDuration timeDuration) throws IOException, AutomationException
subtractDuration
in interface ITimeOffsetOperator
timeDuration
- A reference to a com.esri.arcgis.system.ITimeDuration (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean addYears(double value, boolean preserveEndOfMonth, boolean goForwardOnInvalidDate) throws IOException, AutomationException
addYears
in interface ITimeOffsetOperator
value
- The value (in)preserveEndOfMonth
- The preserveEndOfMonth (in)goForwardOnInvalidDate
- The goForwardOnInvalidDate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean addMonths(double value, boolean preserveEndOfMonth, boolean goForwardOnInvalidDate) throws IOException, AutomationException
addMonths
in interface ITimeOffsetOperator
value
- The value (in)preserveEndOfMonth
- The preserveEndOfMonth (in)goForwardOnInvalidDate
- The goForwardOnInvalidDate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addWeeks(double value) throws IOException, AutomationException
addWeeks
in interface ITimeOffsetOperator
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDays(double value) throws IOException, AutomationException
addDays
in interface ITimeOffsetOperator
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addHours(double value) throws IOException, AutomationException
addHours
in interface ITimeOffsetOperator
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addMinutes(double value) throws IOException, AutomationException
addMinutes
in interface ITimeOffsetOperator
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addSeconds(double value) throws IOException, AutomationException
addSeconds
in interface ITimeOffsetOperator
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addMilliseconds(double value) throws IOException, AutomationException
addMilliseconds
in interface ITimeOffsetOperator
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addNanoseconds(long value) throws IOException, AutomationException
addNanoseconds
in interface ITimeOffsetOperator
value
- Signed 64-bit int (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMinNamespaceSupported() throws IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (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 IPersistStream
IOException
- 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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 IPersist
pClassID
- 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 boolean isSupportedAtVersion(int docVersion) throws IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object convertToSupportedObject(int docVersion) throws IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |