cz.ponec.ppSee.api
Interface CatalogFile


public interface CatalogFile

Catalog File


Method Summary
 java.io.File getBasicFile()
          System file
 java.lang.String getContent(int maxLength)
          Returns text content of the file
 java.nio.charset.Charset getCharset()
          Character set of the file.
 java.lang.String getCharsetName()
          Character set of the page
 java.lang.String getLink()
          Returns a HTML Link to current file
 java.lang.String getTitle()
          Returns file title.
 

Method Detail

getBasicFile

public java.io.File getBasicFile()
System file


getCharset

public java.nio.charset.Charset getCharset()
Character set of the file.


getCharsetName

public java.lang.String getCharsetName()
Character set of the page


getTitle

public java.lang.String getTitle()
Returns file title. In case the title was not found, method returns name of the file (without path).


getContent

public java.lang.String getContent(int maxLength)
Returns text content of the file


getLink

public java.lang.String getLink()
Returns a HTML Link to current file



Copyright © 2007 PPonec. All Rights Reserved.