|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents an entire operating system image (e.g. a core file). There are methods for accessing information about the architecture of the machine on which the image was running - hardware and operating system. The major feature, however, is the ability to iterate over the Address Spaces contained within the image.
Method Summary | |
---|---|
java.util.Iterator |
getAddressSpaces()
|
long |
getCreationTime()
Determines when the image was created |
java.lang.String |
getHostName()
|
long |
getInstalledMemory()
|
java.util.Iterator |
getIPAddresses()
|
int |
getProcessorCount()
|
java.lang.String |
getProcessorSubType()
|
java.lang.String |
getProcessorType()
|
java.lang.String |
getSystemSubType()
|
java.lang.String |
getSystemType()
|
Method Detail |
public java.util.Iterator getAddressSpaces()
ImageAddressSpace
,
CorruptData
public java.lang.String getProcessorType() throws DataUnavailable, CorruptDataException
DataUnavailable
- if this data cannot be inferred from this core type
CorruptDataException
- if expected data cannot be read from the corepublic java.lang.String getProcessorSubType() throws DataUnavailable, CorruptDataException
Note that this value is platform and implementation dependent.
DataUnavailable
CorruptDataException
public int getProcessorCount() throws DataUnavailable
DataUnavailable
- if the information cannot be providedpublic java.lang.String getSystemType() throws DataUnavailable, CorruptDataException
DataUnavailable
- if this data cannot be inferred from this core type
CorruptDataException
- if expected data cannot be read from the corepublic java.lang.String getSystemSubType() throws DataUnavailable, CorruptDataException
DataUnavailable
CorruptDataException
public long getInstalledMemory() throws DataUnavailable
DataUnavailable
- if the information cannot be providedpublic long getCreationTime() throws DataUnavailable
DataUnavailable
public java.lang.String getHostName() throws DataUnavailable, CorruptDataException
DataUnavailable
- If the image did not provide this information (would happen
if the system did not know its hostname or if the image pre-dated this feature).
CorruptDataException
public java.util.Iterator getIPAddresses() throws DataUnavailable
DataUnavailable
- If the image did not provide this information (would happen
if the system failed to look them up or if the image pre-dated this feature).java.net.InetAddress
,
CorruptData
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |