addbk.JAddressBook
Class RecoverUtils

java.lang.Object
  extended by addbk.JAddressBook.RecoverUtils

public class RecoverUtils
extends java.lang.Object

User: Douglas Lyon Date: Apr 7, 2008 Time: 8:34:38 AM Copyright DocJava, Inc., 2007


Constructor Summary
RecoverUtils()
           
 
Method Summary
static AddressRecord getRecord(int start, int end, java.lang.String[] sa)
           
static void main(java.lang.String[] args)
           
static void printRecord(java.lang.String r)
           
static void testBinaryRead(java.io.File f)
           
static void testObjectRead()
           
static void testReadln(java.io.File f)
           
static void testReadXml(java.io.File f)
           
static void testRecordRead()
           
static void testRecordWrite(java.io.File f)
           
static void testStringRead(java.io.File f)
           
static void testXmlRead(java.io.File f)
           
static void testXmlWrite(java.util.Vector addressVector)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecoverUtils

public RecoverUtils()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

testReadXml

public static void testReadXml(java.io.File f)
                        throws java.io.IOException
Throws:
java.io.IOException

getRecord

public static AddressRecord getRecord(int start,
                                      int end,
                                      java.lang.String[] sa)

testReadln

public static void testReadln(java.io.File f)
                       throws java.io.IOException
Throws:
java.io.IOException

testStringRead

public static void testStringRead(java.io.File f)

printRecord

public static void printRecord(java.lang.String r)

testRecordRead

public static void testRecordRead()
                           throws java.io.IOException,
                                  java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

testXmlWrite

public static void testXmlWrite(java.util.Vector addressVector)

testRecordWrite

public static void testRecordWrite(java.io.File f)
                            throws java.io.IOException
Throws:
java.io.IOException

testObjectRead

public static void testObjectRead()
                           throws java.io.IOException,
                                  java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

testXmlRead

public static void testXmlRead(java.io.File f)

testBinaryRead

public static void testBinaryRead(java.io.File f)
                           throws java.io.IOException
Throws:
java.io.IOException