Package com.xebisco.yield
Class FileInput
java.lang.Object
com.xebisco.yield.FileInput
- Direct Known Subclasses:
AbstractTexture,Font,SpritesheetTexture
This class represents a file input with its path and format.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the format of the file.path()Returns the path of the file.
-
Constructor Details
-
FileInput
Constructs a newFileInputobject with the given path.- Parameters:
path- the path of the file
-
-
Method Details
-
path
Returns the path of the file.- Returns:
- the path of the file
-
fileFormat
Returns the format of the file.- Returns:
- the format of the file
(e.g., "TXT", "JPG", "WAV")or null if the format could not be determined
-