Class SourceFileReaderAbstract

    • Field Detail

      • file

        protected java.io.File file
      • outputDirectory

        protected java.io.File outputDirectory
      • outputFile

        protected java.io.File outputFile
      • cpt

        protected int cpt
    • 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

      • 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()
      • 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)