org.apache.ws.jaxme.js

Interface TextFile

public interface TextFile extends IndentationEngine

Interface of a text file.

Author: Jochen Wiedmann

Method Summary
StringgetContents()

Returns the text files contents, as a string.

StringgetFileName()

Returns the text files file name, without any path component.

StringgetPackageName()

Returns the text files package name.

voidsetContents(String pContents)

Sets the text files contents, as a string.

Method Detail

getContents

public String getContents()

Returns the text files contents, as a string.

getFileName

public String getFileName()

Returns the text files file name, without any path component.

getPackageName

public String getPackageName()

Returns the text files package name. This package name isn't necessarily a valid Java package name, for example it may be "META-INF".

setContents

public void setContents(String pContents)

Sets the text files contents, as a string.