de.wenzlaff.hex.tabelle
Class HexString

java.lang.Object
  extended by de.wenzlaff.hex.tabelle.HexString
All Implemented Interfaces:
Hexable

public class HexString
extends java.lang.Object
implements Hexable

Since:
02.02.2003
Version:
1.0
Author:
Thomas Wenzlaff ( gesundheitskarte@wenzlaff.de )
See Also:
www.wenzlaff.de

Constructor Summary
HexString(java.lang.String pvString)
          Constructor for HexString.
 
Method Summary
 byte getByte(int row, int col)
          Method getByte.
 int getColumnCount()
          Method getColumnCount.
 int getLastRowSize()
          Anzahl der Zeichen in der letzten Zeile.
 byte[] getRow(int pvRow)
          Method getRow.
 int getRowCount()
          Anzahl der Zeilen
 java.lang.String getZeile(int pvZeile)
          Gibt die Zeile zurück erste Zeile 0
 void setByte(int pvRow, int pvCol, byte pvValue)
          Setzt den value an der Spalte und in der Zeile Zeile und Spalte beginnen bei 0
 java.lang.String toString()
          Gibt den String im Hex Format zurück
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HexString

public HexString(java.lang.String pvString)
Constructor for HexString.

Method Detail

getRowCount

public int getRowCount()
Anzahl der Zeilen

Specified by:
getRowCount in interface Hexable
Returns:
int Anzahl der Zeilen
See Also:
Hexable.getRowCount()

getColumnCount

public int getColumnCount()
Description copied from interface: Hexable
Method getColumnCount.

Specified by:
getColumnCount in interface Hexable
Returns:
int
See Also:
Hexable.getColumnCount()

getLastRowSize

public int getLastRowSize()
Anzahl der Zeichen in der letzten Zeile.

Specified by:
getLastRowSize in interface Hexable
Returns:
int Anzahl der Zeichen in der letzten Zeile
See Also:
Hexable.getLastRowSize()

getByte

public byte getByte(int row,
                    int col)
Description copied from interface: Hexable
Method getByte.

Specified by:
getByte in interface Hexable
Returns:
byte
See Also:
Hexable.getByte(int, int)

setByte

public void setByte(int pvRow,
                    int pvCol,
                    byte pvValue)
Setzt den value an der Spalte und in der Zeile Zeile und Spalte beginnen bei 0

Specified by:
setByte in interface Hexable
Parameters:
pvRow - int Zeile
pvCol - int Spalte
pvValue - byte der Wert
See Also:
Hexable.setByte(int, int, byte)

getRow

public byte[] getRow(int pvRow)
Description copied from interface: Hexable
Method getRow.

Specified by:
getRow in interface Hexable
Returns:
byte[]
See Also:
Hexable.getRow(int)

getZeile

public java.lang.String getZeile(int pvZeile)
Gibt die Zeile zurück erste Zeile 0

Parameters:
pvZeile - int die Zeile

toString

public java.lang.String toString()
Gibt den String im Hex Format zurück

Overrides:
toString in class java.lang.Object
Returns:
String im Hex Format
See Also:
Object.toString()



twhexedit 1.1.0 - © 2006-2008 by Thomas Wenzlaff

Anleitung und neueste Version auf www.wenzlaff.de

Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2008 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.