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 boolean
endsWithSlashOrAntislash
(String newName) protected void
exportWarnOrErrIfWord
(SFile f, Diagram system) protected final FileFormatOption
protected final String
final List<GeneratedImage>
final Set<FileWithSuffix>
protected Reader
protected final SuggestedFile
getSuggestedFile
(File outputDirectory, String newName) protected abstract SuggestedFile
getSuggestedFile
(BlockUml blockUml) boolean
hasError()
void
setCheckMetadata
(boolean checkMetadata) final ISourceFileReader
setFileFormatOption
(FileFormatOption fileFormatOption) protected final void
setNoerror
(boolean noerror)
-
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:
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
- Throws:
IOException
-
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) -
getFileName
-