|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.convert.PilotConverter
public class PilotConverter
Wraps the PilotDocJ decode() and encode() static methods in a single utility class. This is used to convert between text documents and .pdb (Pilot Document) files.
| Constructor Summary | |
|---|---|
PilotConverter()
Default constructor for PilotConverter. |
|
| Method Summary | |
|---|---|
com.brisk.pilot.DatabaseHeader |
decode(File file,
OutputStream out)
Decodes the specified .pdb File, writing to the provided OutputStream, and returns the DatabaseHeader. |
Document |
decodeToDocumentView(File file,
DocumentView dv)
Decodes (imports) the specified .pdb File, writing the PDB file's metadata to the DocumentView, returning the Document to be set by the SourceProcessor's feed back to the DocumentView). |
void |
encode(InputStream in,
File file)
Encodes the provided InputStream to the specified .pdb File. |
void |
encode(InputStream in,
File file,
com.brisk.pilot.DatabaseHeader dbh)
Encodes the provided InputStream to the specified .pdb File, including the optional DatabaseHeader. |
boolean |
encodeFromDocumentView(File file,
DocumentView dv,
String filename,
String title)
Encodes (exports) the editor content of the provided DocumentView to the specified .pdb File, with the suggested filename. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PilotConverter()
| Method Detail |
|---|
public com.brisk.pilot.DatabaseHeader decode(File file,
OutputStream out)
public Document decodeToDocumentView(File file,
DocumentView dv)
public void encode(InputStream in,
File file)
public void encode(InputStream in,
File file,
com.brisk.pilot.DatabaseHeader dbh)
public boolean encodeFromDocumentView(File file,
DocumentView dv,
String filename,
String title)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||