Class ClassFinder


  • public class ClassFinder
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.File[] classPath  
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassFinder​(java.io.File... classPath)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ClassFile find​(java.lang.Class<?> clazz)  
      ClassFile find​(java.lang.String name)  
      private ClassFile findIn​(java.io.File file, java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • classPath

        private java.io.File[] classPath
    • Constructor Detail

      • ClassFinder

        public ClassFinder​(java.io.File... classPath)
    • Method Detail

      • find

        public ClassFile find​(java.lang.Class<?> clazz)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • find

        public ClassFile find​(java.lang.String name)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • findIn

        private ClassFile findIn​(java.io.File file,
                                 java.lang.String name)
                          throws java.io.IOException
        Throws:
        java.io.IOException