public abstract class SourceFileReaderAbstract extends java.lang.Object implements ISourceFileReader
| 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(java.io.File file,
FileFormatOption fileFormatOption,
Defines defines,
java.util.List<java.lang.String> config,
java.lang.String charsetName) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
endsWithSlashOrAntislash(java.lang.String newName) |
protected void |
exportWarnOrErrIfWord(SFile f,
Diagram system) |
java.util.List<BlockUml> |
getBlocks() |
java.util.List<GeneratedImage> |
getGeneratedImages() |
java.util.Set<FileWithSuffix> |
getIncludedFiles() |
protected java.io.Reader |
getReader(java.nio.charset.Charset charset) |
protected abstract SuggestedFile |
getSuggestedFile(BlockUml blockUml) |
boolean |
hasError() |
void |
setCheckMetadata(boolean checkMetadata) |
void |
setFileFormatOption(FileFormatOption fileFormatOption)
Deprecated.
|
protected void |
setNoerror(boolean noerror) |
protected java.io.File file
protected java.io.File outputDirectory
protected java.io.File outputFile
protected final BlockUmlBuilder builder
protected FileFormatOption fileFormatOption
protected int cpt
public SourceFileReaderAbstract(java.io.File file,
FileFormatOption fileFormatOption,
Defines defines,
java.util.List<java.lang.String> config,
java.lang.String charsetName)
throws java.io.IOException
java.io.IOExceptionpublic void setCheckMetadata(boolean checkMetadata)
setCheckMetadata in interface ISourceFileReaderpublic boolean hasError()
hasError in interface ISourceFileReaderpublic java.util.List<BlockUml> getBlocks()
getBlocks in interface ISourceFileReaderprotected java.io.Reader getReader(java.nio.charset.Charset charset)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
java.io.FileNotFoundExceptionjava.io.UnsupportedEncodingExceptionpublic final java.util.Set<FileWithSuffix> getIncludedFiles()
@Deprecated public final void setFileFormatOption(FileFormatOption fileFormatOption)
setFileFormatOption in interface ISourceFileReaderprotected boolean endsWithSlashOrAntislash(java.lang.String newName)
protected void exportWarnOrErrIfWord(SFile f, Diagram system) throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic final java.util.List<GeneratedImage> getGeneratedImages() throws java.io.IOException
getGeneratedImages in interface ISourceFileReaderjava.io.IOExceptionprotected abstract SuggestedFile getSuggestedFile(BlockUml blockUml) throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionprotected final void setNoerror(boolean noerror)