public void removeClassFromJar ( String classname ) { for ( String innerclass : getLoader ( ) . getInnerClassesForClass ( classname ) ) { remove ( classToFileName ( innerclass ) ) ; } remove ( classToFileName ( classname ) ) ; }
Remove the provided classname and all inner classes from the jarfile and the classloader