All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.syncbuilder.storage.File
java.lang.Object
   |
   +----com.syncbuilder.storage.File

  Summary

public class  File
     extends java.lang.Object
{
          // Methods 22
     public static File create(String, DBInfo) throws IOException;
     public static File open(String) throws IOException;

     public void addRecord(Record) throws IOException;
     public void addResource(Resource) throws IOException;
     public void close() throws IOException;
     public Record createRecord() throws IOException;
     public Record createRecord(RecordID) throws IOException;
     public Resource createResource() throws IOException;
     public Resource createResource(Char4, int) throws IOException;
     public AppBlock getAppBlock() throws IOException;
     public DBInfo getDBInfo() throws IOException;
     public Record getRecord(RecordID) throws IOException;
     public Record getRecord(int) throws IOException;
     public int getRecords() throws IOException;
     public Resource getResource(int) throws IOException;
     public SortBlock getSortBlock() throws IOException;
     public void install(Link, int) throws IOException;
     public void merge(Link, int) throws IOException;
     public void retrieve(Link, int) throws IOException;
     public void setAppBlock(AppBlock) throws IOException;
     public void setDBInfo(DBInfo) throws IOException;
     public void setSortBlock(SortBlock) throws IOException;
}

A representation of a Palm OS database-image that is stored as a file on the host-system.

These files typically have the extension .PDB for record databases and .PRC for resource databases.


  Cross Reference

Returned By:
File.create(), File.open()





  Methods

· open

Summary  |  Top
   public static File open(String name)  throws IOException


· create

Summary  |  Top
   public static File create(String name, 
                             DBInfo info)  throws IOException


· close

Summary  |  Top
   public void close()  throws IOException


· getRecord

Summary  |  Top
   public Record getRecord(int index)  throws IOException


· getRecord

Summary  |  Top
   public Record getRecord(RecordID id)  throws IOException


· addRecord

Summary  |  Top
   public void addRecord(Record newRecord)  throws IOException


· addResource

Summary  |  Top
   public void addResource(Resource newResource)  throws IOException


· createRecord

Summary  |  Top
   public Record createRecord()  throws IOException


· createRecord

Summary  |  Top
   public Record createRecord(RecordID id)  throws IOException


· createResource

Summary  |  Top
   public Resource createResource()  throws IOException


· createResource

Summary  |  Top
   public Resource createResource(Char4 type, 
                                  int id)  throws IOException


· getResource

Summary  |  Top
   public Resource getResource(int index)  throws IOException


· setAppBlock

Summary  |  Top
   public void setAppBlock(AppBlock appblock)  throws IOException


· setSortBlock

Summary  |  Top
   public void setSortBlock(SortBlock sortblock)  throws IOException


· getAppBlock

Summary  |  Top
   public AppBlock getAppBlock()  throws IOException


· getSortBlock

Summary  |  Top
   public SortBlock getSortBlock()  throws IOException


· getDBInfo

Summary  |  Top
   public DBInfo getDBInfo()  throws IOException


· setDBInfo

Summary  |  Top
   public void setDBInfo(DBInfo info)  throws IOException


· getRecords

Summary  |  Top
   public int getRecords()  throws IOException


· install

Summary  |  Top
   public void install(Link link, 
                       int cardno)  throws IOException


· retrieve

Summary  |  Top
   public void retrieve(Link link, 
                        int cardno)  throws IOException


· merge

Summary  |  Top
   public void merge(Link link, 
                     int cardno)  throws IOException


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7