addbk.JAddressBook
Class RecoverUtils
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecoverUtils
public RecoverUtils()
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