Package schema2template
Class OutputFileListEntry
- java.lang.Object
-
- schema2template.OutputFileListEntry
-
public class OutputFileListEntry extends Object
Belongs to FileListHandler. Represents one single entry in ouput filelist.- Author:
- Hans-Peter Schaal
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OutputFileListEntry.EntryType
Type of filelist entry (file or path)
-
Constructor Summary
Constructors Constructor Description OutputFileListEntry(OutputFileListEntry.EntryType type)
OutputFileListEntry(OutputFileListEntry.EntryType type, int lineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAttribute(String key)
Map<String,String>
getAttributes()
int
getLineNumber()
OutputFileListEntry.EntryType
getType()
void
setAttribute(String key, String value)
-
-
-
Constructor Detail
-
OutputFileListEntry
public OutputFileListEntry(OutputFileListEntry.EntryType type)
- Parameters:
type
- Use FilelistEntry.EntryType.[FILE|PATH]
-
OutputFileListEntry
public OutputFileListEntry(OutputFileListEntry.EntryType type, int lineNumber)
- Parameters:
type
- Use FilelistEntry.EntryType.[FILE|PATH]lineNumber
- number in filelist.xml for logging / error output.
-
-
Method Detail
-
getType
public OutputFileListEntry.EntryType getType()
- Returns:
- the entry type
-
getLineNumber
public int getLineNumber()
- Returns:
- line number in filelist.xml for logging / error output.
-
getAttribute
public String getAttribute(String key)
- Parameters:
key
- Attribute Key- Returns:
- Attribute Value
-
-