public abstract class SourceFileReaderAbstract
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected BlockUmlBuilder |
builder |
protected int |
cpt |
protected java.io.File |
file |
protected FileFormatOption |
fileFormatOption |
protected java.io.File |
outputDirectory |
protected java.io.File |
outputFile |
| Constructor and Description |
|---|
SourceFileReaderAbstract() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
endsWithSlashOrAntislash(java.lang.String newName) |
protected void |
exportWarnOrErrIfWord(java.io.File f,
Diagram system) |
java.util.List<BlockUml> |
getBlocks() |
java.util.List<GeneratedImage> |
getGeneratedImages() |
java.util.Set<FileWithSuffix> |
getIncludedFiles() |
protected java.io.Reader |
getReader(java.lang.String charset) |
protected abstract SuggestedFile |
getSuggestedFile(BlockUml blockUml) |
boolean |
hasError() |
void |
setCheckMetadata(boolean checkMetadata) |
void |
setFileFormatOption(FileFormatOption fileFormatOption) |
protected java.io.File file
protected java.io.File outputDirectory
protected java.io.File outputFile
protected BlockUmlBuilder builder
protected FileFormatOption fileFormatOption
protected int cpt
public void setCheckMetadata(boolean checkMetadata)
public boolean hasError()
public java.util.List<BlockUml> getBlocks()
protected java.io.Reader getReader(java.lang.String charset)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
java.io.FileNotFoundExceptionjava.io.UnsupportedEncodingExceptionpublic final java.util.Set<FileWithSuffix> getIncludedFiles()
public final void setFileFormatOption(FileFormatOption fileFormatOption)
protected boolean endsWithSlashOrAntislash(java.lang.String newName)
protected void exportWarnOrErrIfWord(java.io.File f,
Diagram system)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic final java.util.List<GeneratedImage> getGeneratedImages() throws java.io.IOException
java.io.IOExceptionprotected abstract SuggestedFile getSuggestedFile(BlockUml blockUml)