Package net.sourceforge.plantuml
Class SourceFileReaderAbstract
java.lang.Object
net.sourceforge.plantuml.SourceFileReaderAbstract
- All Implemented Interfaces:
ISourceFileReader
- Direct Known Subclasses:
SourceFileReader
,SourceFileReaderCopyCat
,SourceFileReaderHardFile
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BlockUmlBuilder
protected int
protected File
protected FileFormatOption
protected File
protected File
-
Constructor Summary
ConstructorsConstructorDescriptionSourceFileReaderAbstract
(File file, FileFormatOption fileFormatOption, Defines defines, List<String> config, String charsetName) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
endsWithSlashOrAntislash
(String newName) protected void
exportWarnOrErrIfWord
(SFile f, Diagram system) final List<GeneratedImage>
final Set<FileWithSuffix>
protected Reader
protected abstract SuggestedFile
getSuggestedFile
(BlockUml blockUml) boolean
hasError()
void
setCheckMetadata
(boolean checkMetadata) final void
setFileFormatOption
(FileFormatOption fileFormatOption) protected final void
setNoerror
(boolean noerror)
-
Field Details
-
file
-
outputDirectory
-
outputFile
-
builder
-
fileFormatOption
-
cpt
protected int cpt
-
-
Constructor Details
-
SourceFileReaderAbstract
public SourceFileReaderAbstract(File file, FileFormatOption fileFormatOption, Defines defines, List<String> config, String charsetName) throws IOException - Throws:
IOException
-
-
Method Details
-
setCheckMetadata
public void setCheckMetadata(boolean checkMetadata) - Specified by:
setCheckMetadata
in interfaceISourceFileReader
-
hasError
public boolean hasError()- Specified by:
hasError
in interfaceISourceFileReader
-
getBlocks
- Specified by:
getBlocks
in interfaceISourceFileReader
-
getReader
protected Reader getReader(Charset charset) throws FileNotFoundException, UnsupportedEncodingException -
getIncludedFiles
-
setFileFormatOption
- Specified by:
setFileFormatOption
in interfaceISourceFileReader
-
endsWithSlashOrAntislash
-
exportWarnOrErrIfWord
- Throws:
FileNotFoundException
-
getGeneratedImages
- Specified by:
getGeneratedImages
in interfaceISourceFileReader
- Throws:
IOException
-
getSuggestedFile
- Throws:
FileNotFoundException
-
setNoerror
protected final void setNoerror(boolean noerror)
-