public static FunctionLib loadFromFile ( Resource res , Identification id ) throws FunctionLibException { // Read in XML FunctionLib lib = FunctionLibFactory . hashLib . get ( id ( res ) ) ; // getHashLib(file.getAbsolutePath()); if ( lib == null ) { lib = new FunctionLibFactory ( null , res , id , false ) . getLib ( ) ; FunctionLibFactory . hashLib . put ( id ( res ) , lib ) ; } lib . setSource ( res . toString ( ) ) ; return lib ; }
Laedt eine einzelne FunctionLib .