Class FileInfoContainer

java.lang.Object
com.igormaznitsa.jcp.containers.FileInfoContainer

public class FileInfoContainer extends Object
The class is one from the main classes in the preprocessor because it describes a preprocessing file and contains business logic for the process
  • Field Details

    • DIRECTIVE_HASH_PREFIXED

      private static final Pattern DIRECTIVE_HASH_PREFIXED
    • DIRECTIVE_TWO_DOLLARS_PREFIXED

      private static final Pattern DIRECTIVE_TWO_DOLLARS_PREFIXED
    • DIRECTIVE_SINGLE_DOLLAR_PREFIXED

      private static final Pattern DIRECTIVE_SINGLE_DOLLAR_PREFIXED
    • DIRECTIVE_TAIL_REMOVER

      private static final Pattern DIRECTIVE_TAIL_REMOVER
    • sourceFile

      private final File sourceFile
      The source file for the container
    • forCopyOnly

      private final boolean forCopyOnly
      The flag shows that the file should be just copied into the destination place without any preprocessing
    • excludedFromPreprocessing

      private boolean excludedFromPreprocessing
      The flag shows that the file has been excluded from preprocessing and it will not be preprocessed and copied
    • destFolder

      private String destFolder
      The destination directory for the file
    • destFileName

      private String destFileName
      The destination name for the file
  • Constructor Details

    • FileInfoContainer

      public FileInfoContainer(File srcFile, String dstFileName, boolean copyOnly)
  • Method Details