Top Description Fields Constructors Methods
org.freedesktop.dbus.viewer

pack-priv Class TextFile

extends Object
Class Inheritance

A Text file abstraction
Author
pete
Since
10/02/2006

Field Summary

Modifier and TypeField and Description
private final String
private final String

Constructor Summary

AccessConstructor and Description
pack-priv
TextFile(String
The file name
_fileName
,
String
The contents
_contents
)

Create the TextFile

Method Summary

Modifier and TypeMethod and Description
pack-priv String

Returns:

The contents.
getContents
()

Retrieve the contents

pack-priv String

Returns:

The fileName.
getFileName
()

Retrieve the fileName

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contentsback to summary
private final String contents
fileNameback to summary
private final String fileName

Constructor Detail

TextFileback to summary
pack-priv TextFile(String _fileName, String _contents)

Create the TextFile

Parameters
_fileName:String

The file name

_contents:String

The contents

Method Detail

getContentsback to summary
pack-priv String getContents()

Retrieve the contents

Returns:String

The contents.

getFileNameback to summary
pack-priv String getFileName()

Retrieve the fileName

Returns:String

The fileName.