JHPcte
Class PcteContentsHandle

java.lang.Object
  |
  +--JHPcte.PcteContentsHandle

public class PcteContentsHandle
extends java.lang.Object

The Java representation of a Pcte_contents_handle.


Field Summary
protected  java.lang.String handle
           
protected  PcteProcess process
           
 
Constructor Summary
protected PcteContentsHandle(PcteProcess process, java.lang.String handle)
          constructor
 
Method Summary
 void Pcte_contents_close()
          12.2.1 CONTENTS_CLOSE
 int Pcte_contents_get_position()
          12.2.4 CONTENTS_GET_POSITION
 byte[] Pcte_contents_read(int size)
          12.2.7 CONTENTS_READ
 int Pcte_contents_seek(int offset, int whence)
          12.2.8 CONTENTS_SEEK
 void Pcte_contents_set_position(int position_handle, int set_mode)
          12.2.9 CONTENTS_SET_POSITION
 void Pcte_contents_truncate()
          12.2.11 CONTENTS_TRUNCATE
 int Pcte_contents_write(byte[] data)
          12.2.12 CONTENTS_WRITE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

process

protected PcteProcess process

handle

protected java.lang.String handle
Constructor Detail

PcteContentsHandle

protected PcteContentsHandle(PcteProcess process,
                             java.lang.String handle)
constructor
Method Detail

Pcte_contents_close

public void Pcte_contents_close()
                         throws PcteException
12.2.1 CONTENTS_CLOSE

Pcte_contents_get_position

public int Pcte_contents_get_position()
                               throws PcteException
12.2.4 CONTENTS_GET_POSITION

Pcte_contents_set_position

public void Pcte_contents_set_position(int position_handle,
                                       int set_mode)
                                throws PcteException
12.2.9 CONTENTS_SET_POSITION

Pcte_contents_read

public byte[] Pcte_contents_read(int size)
                          throws PcteException
12.2.7 CONTENTS_READ

Pcte_contents_seek

public int Pcte_contents_seek(int offset,
                              int whence)
                       throws PcteException
12.2.8 CONTENTS_SEEK

Pcte_contents_write

public int Pcte_contents_write(byte[] data)
                        throws PcteException
12.2.12 CONTENTS_WRITE

Pcte_contents_truncate

public void Pcte_contents_truncate()
                            throws PcteException
12.2.11 CONTENTS_TRUNCATE