|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.filePiper.model.InputFileInfo
public class InputFileInfo
Object giving information about an input stream. <
| Constructor Summary | |
|---|---|
InputFileInfo(File base,
File inputFile)
|
|
| Method Summary | |
|---|---|
void |
addProposedNameSuffix(String suffix)
Simplest method to propose a new name for the output file: just add a suffix to the current proposed name. |
File |
getBasePath()
|
File |
getInput()
|
int |
getInputCount()
|
String |
getInputRelativePath()
|
String |
getProposedExtension()
|
String |
getProposedFullPath()
Get the full proposed path = proposedPath + proposedName + proposedExtension (with correct "/", "\" or "." separators and null handing). |
String |
getProposedName()
|
String |
getProposedPath()
|
String |
getProposedRelativePath()
Get the proposed full path minus the base input path. |
void |
mergeInfo(InputFileInfo mergedInfo)
Merge two files (MANY to ONE cardinality). |
void |
setBasePath(File newBasePath)
|
void |
setInput(File newInput)
|
void |
setProposedExtension(String newProposedExtension)
|
void |
setProposedName(String newProposedName)
|
void |
setProposedPath(String newProposedPath)
|
void |
setProposedRelativePath(String newProposedRelativePath)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InputFileInfo(File base,
File inputFile)
| Method Detail |
|---|
public void addProposedNameSuffix(String suffix)
suffix - public String toString()
toString in class Objectpublic void mergeInfo(InputFileInfo mergedInfo)
newLine - the merged lines;public String getProposedFullPath()
public String getProposedRelativePath()
public void setProposedRelativePath(String newProposedRelativePath)
public String getInputRelativePath()
public File getInput()
public void setInput(File newInput)
public File getBasePath()
public void setBasePath(File newBasePath)
public String getProposedExtension()
public void setProposedExtension(String newProposedExtension)
public String getProposedName()
public void setProposedName(String newProposedName)
public String getProposedPath()
public void setProposedPath(String newProposedPath)
public int getInputCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||