Class Which


  • public class Which
    extends java.lang.Object
    Finds out where a class file is loaded from.
    • Constructor Summary

      Constructors 
      Constructor Description
      Which()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.File jarFile​(java.lang.Class clazz)  
      • Methods inherited from class java.lang.Object

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

      • Which

        public Which()
    • Method Detail

      • jarFile

        public static java.io.File jarFile​(java.lang.Class clazz)
                                    throws java.io.IOException
        Throws:
        java.io.IOException