com.isti.util.bytehandler
Class ByteArrayFormat

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by com.isti.util.bytehandler.ByteArrayFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class ByteArrayFormat
extends java.util.Vector

Title:

Description:

Copyright: Copyright (c) 2005

Company:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ByteArrayFormat()
           
ByteArrayFormat(java.util.Collection c)
           
ByteArrayFormat(int initialCapacity)
           
ByteArrayFormat(int initialCapacity, int capacityIncrement)
           
ByteArrayFormat(java.lang.String format)
           
 
Method Summary
 char charAt(int position)
           
 int getStringLen(int position)
           
static void main(java.lang.String[] args)
           
 void setFormat(java.lang.String format)
          parse the string into a real format.
 java.lang.String toString()
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

ByteArrayFormat

public ByteArrayFormat()

ByteArrayFormat

public ByteArrayFormat(java.lang.String format)
                throws java.lang.ClassCastException
Throws:
java.lang.ClassCastException

ByteArrayFormat

public ByteArrayFormat(int initialCapacity)

ByteArrayFormat

public ByteArrayFormat(int initialCapacity,
                       int capacityIncrement)

ByteArrayFormat

public ByteArrayFormat(java.util.Collection c)
Method Detail

setFormat

public void setFormat(java.lang.String format)
               throws java.lang.ClassCastException
parse the string into a real format.

Parameters:
format - String
Throws:
java.lang.ClassCastException

toString

public java.lang.String toString()
Overrides:
toString in class java.util.Vector

getStringLen

public int getStringLen(int position)

charAt

public char charAt(int position)

main

public static void main(java.lang.String[] args)