@Override
  protected ClassEntry getClassEntry(String name, String pathName)
    throws ClassNotFoundException
  {
    if (_pathMap != null) {
      JarMap.JarList jarEntryList = _pathMap.get(pathName);

      if (jarEntryList != null) {
        JarEntry jarEntry = jarEntryList.getEntry();

        PathImpl path = jarEntry.getJarPath();
        PathImpl filePath = path.lookup(pathName);

        return createEntry(name, pathName, jarEntry, filePath);
      }
    }
    else {
      // Find the path corresponding to the class
      for (int i = 0; i < _jarList.size(); i++) {
        JarEntry jarEntry = _jarList.get(i);
        JarPath path = jarEntry.getJarPath();
        Jar jar = path.getJar();
        
        try {
          ZipEntry zipEntry = jar.getZipEntry(pathName);

        // if (filePath.canRead() && filePath.getLength() > 0) {
        
          if (zipEntry != null && zipEntry.getSize() > 0) {
            PathImpl filePath = path.lookup(pathName);
          
            return createEntry(name, pathName, jarEntry, filePath);
          }
        } catch (IOException e) {
          log.log(Level.FINER, e.toString(), e);
        }
      }
    }

    return null;
  }
@ Override protected ClassEntry getClassEntry ( String name , String pathName ) throws ClassNotFoundException { if ( _pathMap != null ) { JarMap . JarList jarEntryList = _pathMap . get ( pathName ) ; if ( jarEntryList != null ) { JarEntry jarEntry = jarEntryList . getEntry ( ) ; PathImpl path = jarEntry . getJarPath ( ) ; PathImpl filePath = path . lookup ( pathName ) ; return createEntry ( name , pathName , jarEntry , filePath ) ; } } else { for ( int i = 0 ; i < _jarList . size ( ) ; i ++ ) { JarEntry jarEntry = _jarList . get ( i ) ; JarPath path = jarEntry . getJarPath ( ) ; Jar jar = path . getJar ( ) ; try { ZipEntry zipEntry = jar . getZipEntry ( pathName ) ; if ( zipEntry != null && zipEntry . getSize ( ) > 0 ) { PathImpl filePath = path . lookup ( pathName ) ; return createEntry ( name , pathName , jarEntry , filePath ) ; } } catch ( IOException e ) { log . log ( Level . FINER , e . toString ( ) , e ) ; } } } return null ; }
Returns the class entry.

@param name name of the class