Package net.sourceforge.plantuml
Class SourceFileReaderAbstract
java.lang.Object
net.sourceforge.plantuml.SourceFileReaderAbstract
- All Implemented Interfaces:
ISourceFileReader
- Direct Known Subclasses:
SourceFileReader,SourceFileReaderCopyCat,SourceFileReaderHardFile
-
Constructor Summary
ConstructorsConstructorDescriptionSourceFileReaderAbstract(File file, FileFormatOption fileFormatOption, Defines defines, List<String> config, String charsetName) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanendsWithSlashOrAntislash(String newName) protected voidexportWarnOrErrIfWord(SFile f, Diagram system) protected final FileFormatOptionprotected final Stringfinal List<GeneratedImage>final Set<FileWithSuffix>protected Readerprotected final SuggestedFilegetSuggestedFile(File outputDirectory, String newName) protected abstract SuggestedFilegetSuggestedFile(BlockUml blockUml) booleanhasError()voidsetCheckMetadata(boolean checkMetadata) final ISourceFileReadersetFileFormatOption(FileFormatOption fileFormatOption) protected final voidsetNoErrorImage(boolean noErrorImage)
-
Constructor Details
-
SourceFileReaderAbstract
public SourceFileReaderAbstract(File file, FileFormatOption fileFormatOption, Defines defines, List<String> config, String charsetName) throws IOException - Throws:
IOException
-
-
Method Details
-
getSuggestedFile
-
getFileFormatOption
-
setCheckMetadata
public void setCheckMetadata(boolean checkMetadata) - Specified by:
setCheckMetadatain interfaceISourceFileReader
-
hasError
public boolean hasError()- Specified by:
hasErrorin interfaceISourceFileReader
-
getBlocks
- Specified by:
getBlocksin interfaceISourceFileReader
-
getReader
protected Reader getReader(Charset charset) throws FileNotFoundException, UnsupportedEncodingException -
getIncludedFiles
- Throws:
IOException
-
setFileFormatOption
- Specified by:
setFileFormatOptionin interfaceISourceFileReader
-
endsWithSlashOrAntislash
-
exportWarnOrErrIfWord
- Throws:
FileNotFoundException
-
getGeneratedImages
- Specified by:
getGeneratedImagesin interfaceISourceFileReader- Throws:
IOException
-
getSuggestedFile
- Throws:
FileNotFoundException
-
setNoErrorImage
protected final void setNoErrorImage(boolean noErrorImage) -
getFileName
-