de.tuberlin.cs.flp.jspwiki.plugin.wikiarchive


Class ArchiveHandlerPlaintext

de.tuberlin.cs.flp.jspwiki.plugin.wikiarchive.ArchiveHandlerAbstract
    inheritde.tuberlin.cs.flp.jspwiki.plugin.wikiarchive.ArchiveHandlerExternalFormatAbstract
        inheritde.tuberlin.cs.flp.jspwiki.plugin.wikiarchive.ArchiveHandlerPlaintext

public class ArchiveHandlerPlaintext
Namespace: wikiarchive


Archive handler for archives which treat their entries as plain text.
Authors:
Jens Gulden


Attribute Summary
public static String  CONTENT_SUFFIX
 
public static String  CONTENT_TYPE
 
protected static String  ENTRY_MARKER
Start and end of an entry name, introducing a new entry.  
protected static char  ENTRY_MARKER_CHAR
 
protected static int  MARKER_SIZE
 

Method Summary
protected void  createEntry(Object data, ArchiveEntry entry)
Creates a new archive entry in the data source handled by this ArchiveIOHandler.  
protected static String   entry2text(ArchiveEntry entry)
 
public String   getContentSuffix()
Content type for export via HTTP.  
public String   getContentType()
Content type for export via HTTP.  
protected Map   parseAll(Object data)
Retrieves all archive entries from the data source.  
protected void  replaceEntry(Object data, ArchiveEntry newEntry, ArchiveEntry oldEntry)
Replaces an archive entry in the data source handled by this ArchiveIOHandler.  

Tagged Values
static false
documentation#author Jens Gulden

Attribute Detail

CONTENT_SUFFIX

public static final String CONTENT_SUFFIX

Multiplicity: 1..1
Ordering: unspecified



CONTENT_TYPE

public static final String CONTENT_TYPE

Multiplicity: 1..1
Ordering: unspecified



ENTRY_MARKER

protected static final String ENTRY_MARKER

Multiplicity: 1..1
Ordering: unspecified


Start and end of an entry name, introducing a new entry.


ENTRY_MARKER_CHAR

protected static final char ENTRY_MARKER_CHAR

Multiplicity: 1..1
Ordering: unspecified



MARKER_SIZE

protected static final int MARKER_SIZE

Multiplicity: 1..1
Ordering: unspecified

Method Detail

createEntry

protected void createEntry(Object data, ArchiveEntry entry)


Creates a new archive entry in the data source handled by this ArchiveIOHandler.
Parameters:
data - The data source handled by this ArchiveHandler, which is of type StringBuffer here.
entry - The entry.


entry2text

protected static String entry2text(ArchiveEntry entry)

Parameters:
entry -
Returns:


getContentSuffix

public String getContentSuffix()


Content type for export via HTTP.
Returns:


getContentType

public String getContentType()


Content type for export via HTTP.
Returns:


parseAll

protected Map parseAll(Object data)


Retrieves all archive entries from the data source.
Method Tagged Values
documentation#throws IOException if an i/o error occurs

Parameters:
data - The data source handled by this ArchiveHandler, which is of type StringBuffer here.
Returns:
Exceptions:
IOException if an i/o error occurs


replaceEntry

protected void replaceEntry(Object data, ArchiveEntry newEntry, ArchiveEntry oldEntry)


Replaces an archive entry in the data source handled by this ArchiveIOHandler.
Parameters:
data - The data source handled by this ArchiveHandler, which is of type StringBuffer here.
newEntry - The new entry.
oldEntry - The old entry.

previous   TOC   next

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in the USA and other countries. Copyright 2003-2006 Gentleware AG, Ludwigstr. 12, 20357 Hamburg, Germany. All Rights Reserved.
UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.