rlaramee
Class FileName
java.lang.Object
|
+--rlaramee.FileName
- public class FileName
- extends java.lang.Object
Description: The purpose of the class is to examine an input
file name and set proper input data file settings
indicated in the name of the file itself.
start date Mon 12 March '01
- Version:
- 1.0
- Author:
- Robert S Laramee
- See Also:
Field Summary |
private java.lang.String |
fileName
|
Constructor Summary |
FileName(java.lang.String fileName)
constructor
|
Method Summary |
boolean |
examineSettings()
This method examines the file name and identifies the corresponding
settings for the input data file
|
private java.lang.String |
getFileName()
|
private boolean |
readResolution(java.lang.String name)
This method reads the given name for a valid resolution
|
private void |
setFileName(java.lang.String fName)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
fileName
private java.lang.String fileName
FileName
public FileName(java.lang.String fileName)
- constructor
- Parameters:
fileName
-
setFileName
private void setFileName(java.lang.String fName)
- Parameters:
fName
- the name of this FileName
getFileName
private java.lang.String getFileName()
- Returns:
- the name of this FileName
examineSettings
public boolean examineSettings()
- This method examines the file name and identifies the corresponding
settings for the input data file
- Returns:
- TRUE if this is a recognized data set file
readResolution
private boolean readResolution(java.lang.String name)
- This method reads the given name for a valid resolution
- Parameters:
name
- the name of a file