Top Description Methods
sun.jvm.hotspot.debugger

public Interface DataSource

Known Direct Implementers
sun.jvm.hotspot.debugger.MappedByteBufferDataSource, sun.jvm.hotspot.debugger.RandomAccessFileDataSource, sun.jvm.hotspot.debugger.posix.AddressDataSource, sun.jvm.hotspot.debugger.windbg.AddressDataSource
Imports
java.io.*

An abstraction which represents a seekable data source. RandomAccessFile can be trivially mapped to this; in addition, we can support an adapter for addresses, so we can parse DLLs directly out of the remote process's address space. This class is used by the Windows COFF and Posix ELF implementations.

Method Summary

Modifier and TypeMethod and Description
public void
public long
public int
read(byte[] b)

public byte
public int
public long
public short
public void
seek(long pos)

Method Detail

closeback to summary
public void close() throws IOException
getFilePointerback to summary
public long getFilePointer() throws IOException
readback to summary
public int read(byte[] b) throws IOException
readByteback to summary
public byte readByte() throws IOException
readIntback to summary
public int readInt() throws IOException
readLongback to summary
public long readLong() throws IOException
readShortback to summary
public short readShort() throws IOException
seekback to summary
public void seek(long pos) throws IOException