private TagLibFactory(String saxParser,TagLib lib,Resource res,Identification id) throws TagLibException {
  this.id=id;
  this.lib=lib == null ? new TagLib() : lib;
  Reader r=null;
  try {
    InputSource is=new InputSource(r=IOUtil.getReader(res.getInputStream(),(Charset)null));
    is.setSystemId(res.getPath());
    init(saxParser,is);
  }
 catch (  IOException e) {
    throw new TagLibException(e);
  }
 finally {
    IOUtil.closeEL(r);
  }
}

private TagLibFactory ( String saxParser , TagLib lib , Resource res , Identification id ) throws TagLibException { this . id = id ; this . lib = lib == null ? new TagLib ( ) : lib ; Reader r = null ; try { InputSource is = new InputSource ( r = IOUtil . getReader ( res . getInputStream ( ) , ( Charset ) null ) ) ; is . setSystemId ( res . getPath ( ) ) ; init ( saxParser , is ) ; } catch ( IOException e ) { throw new TagLibException ( e ) ; } finally { IOUtil . closeEL ( r ) ; } }
privater konstruktor , der als eingabe die tld als file objekt erhaelt .
