@ Override public boolean exists ( ) { ClassLoader loader = Thread . currentThread ( ) . getContextClassLoader ( ) ; return loader . getResource ( getTrimPath ( ) ) != null ; }
Returns true if the file exists .