Class Loader


  • public abstract class Loader
    extends java.lang.Object
    A utility class to simplify the task of loading files and / or directories.
    • Constructor Summary

      Constructors 
      Constructor Description
      Loader()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean basicLoad​(java.io.File file, boolean readOnly, boolean recursive, java.lang.String path)  
      protected boolean basicLoadDirectory​(java.io.File file, boolean readOnly, boolean recursive, java.lang.String path)  
      protected abstract boolean basicLoadFile​(java.io.File file, boolean readOnly, java.lang.String path)  
      boolean load​(java.io.File file, boolean readOnly, boolean recursive)  
      boolean load​(java.io.File parent, java.lang.String filename, boolean readOnly, boolean recursive)  
      boolean loadNLS​(java.io.File file, boolean readOnly, boolean recursive)  
      boolean loadNLS​(java.io.File parent, java.lang.String filename, boolean readOnly, boolean recursive)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Loader

        public Loader()
    • Method Detail

      • basicLoadFile

        protected abstract boolean basicLoadFile​(java.io.File file,
                                                 boolean readOnly,
                                                 java.lang.String path)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • load

        public boolean load​(java.io.File file,
                            boolean readOnly,
                            boolean recursive)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • basicLoad

        protected boolean basicLoad​(java.io.File file,
                                    boolean readOnly,
                                    boolean recursive,
                                    java.lang.String path)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • basicLoadDirectory

        protected boolean basicLoadDirectory​(java.io.File file,
                                             boolean readOnly,
                                             boolean recursive,
                                             java.lang.String path)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • load

        public boolean load​(java.io.File parent,
                            java.lang.String filename,
                            boolean readOnly,
                            boolean recursive)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • loadNLS

        public boolean loadNLS​(java.io.File file,
                               boolean readOnly,
                               boolean recursive)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • loadNLS

        public boolean loadNLS​(java.io.File parent,
                               java.lang.String filename,
                               boolean readOnly,
                               boolean recursive)
                        throws java.io.IOException
        Throws:
        java.io.IOException