@Override
    public final void from(String path, ReadCache cache) throws IOException,
            ClassNotFoundException {
        if (cache == null) {
            from(path);
            return;
        }
        if (nulls(path)) throw new NullPointerException();
        FileInputStream fis = null;
        try {
            fis = new FileInputStream(new File(path));
            ObjectInputStream ois = new ObjectInputStream(fis);
            from(ois, cache);
            return;
        } finally {
            if (fis != null) fis.close();
        }
    }
@ Override public final void from ( String path , ReadCache cache ) throws IOException , ClassNotFoundException { if ( cache == null ) { from ( path ) ; return ; } if ( nulls ( path ) ) throw new NullPointerException ( ) ; FileInputStream fis = null ; try { fis = new FileInputStream ( new File ( path ) ) ; ObjectInputStream ois = new ObjectInputStream ( fis ) ; from ( ois , cache ) ; return ; } finally { if ( fis != null ) fis . close ( ) ; } }
{@inheritDoc}