FileName

Inheritance: java.lang.Object

public class FileName

Represents name of simple file

Constructors

Constructor Description
FileName(String fileName) Initializes new instance of FileName class.

Fields

Field Description
EMPTY The empty filename.
SOURCE The name of the source file.

Methods

Method Description
getText()
toString() Returns a string that represents the current object.

FileName(String fileName)

public FileName(String fileName)

Initializes new instance of FileName class.

Parameters:

Parameter Type Description
fileName java.lang.String The name of the file.

EMPTY

public static final FileName EMPTY

The empty filename.

SOURCE

public static final FileName SOURCE

The name of the source file.

getText()

public String getText()

Returns: java.lang.String

toString()

public String toString()

Returns a string that represents the current object.

Returns: java.lang.String - A string that represents the current object.