Class SourceFileReaderAbstract

    • Constructor Detail

      • SourceFileReaderAbstract

        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
        Throws:
        java.io.IOException
    • Method Detail

      • getSuggestedFile

        protected final SuggestedFile getSuggestedFile​(java.io.File outputDirectory,
                                                       java.lang.String newName)
      • getReader

        protected java.io.Reader getReader​(java.nio.charset.Charset charset)
                                    throws java.io.FileNotFoundException,
                                           java.io.UnsupportedEncodingException
        Throws:
        java.io.FileNotFoundException
        java.io.UnsupportedEncodingException
      • getIncludedFiles

        public final java.util.Set<FileWithSuffix> getIncludedFiles()
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • endsWithSlashOrAntislash

        protected boolean endsWithSlashOrAntislash​(java.lang.String newName)
      • exportWarnOrErrIfWord

        protected void exportWarnOrErrIfWord​(SFile f,
                                             Diagram system)
                                      throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • getSuggestedFile

        protected abstract SuggestedFile getSuggestedFile​(BlockUml blockUml)
                                                   throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • setNoerror

        protected final void setNoerror​(boolean noerror)
      • getFileName

        protected final java.lang.String getFileName()