org.silverpeas.search.indexEngine.parser.psParser
Class PsParser

java.lang.Object
  extended by org.silverpeas.search.indexEngine.parser.PipedParser
      extended by org.silverpeas.search.indexEngine.parser.psParser.PsParser
All Implemented Interfaces:
Parser

public class PsParser
extends PipedParser

the psParser parse a postscript file


Constructor Summary
PsParser()
           
 
Method Summary
 void outPutChar(Writer out, BufferedReader buffer)
          read the text content between parses ( and )
 void outPutContent(Writer out, String path, String encoding)
          outPutContent read the text content of a ps file and store it in out to be ready to be indexed
 
Methods inherited from class org.silverpeas.search.indexEngine.parser.PipedParser
getReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PsParser

public PsParser()
Method Detail

outPutContent

public void outPutContent(Writer out,
                          String path,
                          String encoding)
                   throws IOException
outPutContent read the text content of a ps file and store it in out to be ready to be indexed

Specified by:
outPutContent in class PipedParser
Throws:
IOException

outPutChar

public void outPutChar(Writer out,
                       BufferedReader buffer)
                throws IOException
read the text content between parses ( and )

Throws:
IOException


Copyright © 2016 Silverpeas. All Rights Reserved.