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.IOException
public void setCheckMetadata(boolean checkMetadata)
setCheckMetadata
in interface ISourceFileReader
public boolean hasError()
hasError
in interface ISourceFileReader
public java.util.List<BlockUml> getBlocks()
getBlocks
in interface ISourceFileReader
protected java.io.Reader getReader(java.nio.charset.Charset charset) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
public final java.util.Set<FileWithSuffix> getIncludedFiles()
@Deprecated public final void setFileFormatOption(FileFormatOption fileFormatOption)
setFileFormatOption
in interface ISourceFileReader
protected boolean endsWithSlashOrAntislash(java.lang.String newName)
protected void exportWarnOrErrIfWord(SFile f, Diagram system) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public final java.util.List<GeneratedImage> getGeneratedImages() throws java.io.IOException
getGeneratedImages
in interface ISourceFileReader
java.io.IOException
protected abstract SuggestedFile getSuggestedFile(BlockUml blockUml) throws java.io.FileNotFoundException
java.io.FileNotFoundException
protected final void setNoerror(boolean noerror)