org.paneris.bibliomania.pagination
Class Pagination

java.lang.Object
  extended by org.paneris.bibliomania.pagination.Pagination

public class Pagination
extends java.lang.Object


Nested Class Summary
static class Pagination.DefaultTexHeaderNotFoundException
           
static class Pagination.FootnoteSequence
           
 class Pagination.PageFinder
           
 class Pagination.PageSpan
           
static class Pagination.TagInTexException
           
static class Pagination.TexFailedException
           
 
Field Summary
static java.lang.String dvi2ttyWithBreakinfo
           
static java.lang.String pageAnchorPrefix
           
static java.io.File tempDir
          If you change this, no shell metacharacters please.
 
Constructor Summary
Pagination(java.io.File dbHome)
           
 
Method Summary
 void close()
           
 java.lang.String defaultTexHeader()
           
protected  void finalize()
           
 void flush()
           
 boolean isTempFile(java.io.File file)
           
static void main(java.lang.String[] args)
           
static FictionalNotifyingDocumentParser newDocumentParser()
           
 void paginate(Text text, java.lang.String texHeader, java.io.Writer linedHTML, org.webmacro.Template footnoteTemplate, org.webmacro.WebMacro footnoteWebmacro, java.lang.String contentEncoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageAnchorPrefix

public static final java.lang.String pageAnchorPrefix
See Also:
Constant Field Values

tempDir

public static final java.io.File tempDir
If you change this, no shell metacharacters please.


dvi2ttyWithBreakinfo

public static final java.lang.String dvi2ttyWithBreakinfo
See Also:
Constant Field Values
Constructor Detail

Pagination

public Pagination(java.io.File dbHome)
           throws com.sleepycat.db.DatabaseException,
                  java.io.IOException
Throws:
com.sleepycat.db.DatabaseException
java.io.IOException
Method Detail

defaultTexHeader

public java.lang.String defaultTexHeader()

newDocumentParser

public static FictionalNotifyingDocumentParser newDocumentParser()
Returns:
a new parser

isTempFile

public boolean isTempFile(java.io.File file)

paginate

public void paginate(Text text,
                     java.lang.String texHeader,
                     java.io.Writer linedHTML,
                     org.webmacro.Template footnoteTemplate,
                     org.webmacro.WebMacro footnoteWebmacro,
                     java.lang.String contentEncoding)
              throws java.io.IOException,
                     com.sleepycat.db.DatabaseException
Throws:
java.io.IOException
com.sleepycat.db.DatabaseException

flush

public void flush()
           throws com.sleepycat.db.DatabaseException
Throws:
com.sleepycat.db.DatabaseException

close

public void close()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2000-2009 PanEris. All Rights Reserved.