Java源码示例:sun.jvm.hotspot.debugger.RandomAccessFileDataSource

示例1
/**
 * Parses the data in filename and returns the ELFFile representation.
 */
public ELFFile parse(String filename) throws ELFException {
    try {
        RandomAccessFile file = new RandomAccessFile(filename, "r");
        return parse(new RandomAccessFileDataSource(file));
    } catch (FileNotFoundException e) {
        throw new ELFException(e);
    }
}
 
示例2
/**
 * Parses the data in filename and returns the ELFFile representation.
 */
public ELFFile parse(String filename) throws ELFException {
    try {
        RandomAccessFile file = new RandomAccessFile(filename, "r");
        return parse(new RandomAccessFileDataSource(file));
    } catch (FileNotFoundException e) {
        throw new ELFException(e);
    }
}
 
示例3
/**
 * Parses the data in filename and returns the ELFFile representation.
 */
public ELFFile parse(String filename) throws ELFException {
    try {
        RandomAccessFile file = new RandomAccessFile(filename, "r");
        return parse(new RandomAccessFileDataSource(file));
    } catch (FileNotFoundException e) {
        throw new ELFException(e);
    }
}
 
示例4
/**
 * Parses the data in filename and returns the ELFFile representation.
 */
public ELFFile parse(String filename) throws ELFException {
    try {
        RandomAccessFile file = new RandomAccessFile(filename, "r");
        return parse(new RandomAccessFileDataSource(file));
    } catch (FileNotFoundException e) {
        throw new ELFException(e);
    }
}
 
示例5
/**
 * Parses the data in filename and returns the ELFFile representation.
 */
public ELFFile parse(String filename) throws ELFException {
    try {
        RandomAccessFile file = new RandomAccessFile(filename, "r");
        return parse(new RandomAccessFileDataSource(file));
    } catch (FileNotFoundException e) {
        throw new ELFException(e);
    }
}
 
示例6
/**
 * Parses the data in filename and returns the ELFFile representation.
 */
public ELFFile parse(String filename) throws ELFException {
    try {
        RandomAccessFile file = new RandomAccessFile(filename, "r");
        return parse(new RandomAccessFileDataSource(file));
    } catch (FileNotFoundException e) {
        throw new ELFException(e);
    }
}
 
示例7
/**
 * Parses the data in filename and returns the ELFFile representation.
 */
public ELFFile parse(String filename) throws ELFException {
    try {
        RandomAccessFile file = new RandomAccessFile(filename, "r");
        return parse(new RandomAccessFileDataSource(file));
    } catch (FileNotFoundException e) {
        throw new ELFException(e);
    }
}
 
示例8
/**
 * Parses the data in filename and returns the ELFFile representation.
 */
public ELFFile parse(String filename) throws ELFException {
    try {
        RandomAccessFile file = new RandomAccessFile(filename, "r");
        return parse(new RandomAccessFileDataSource(file));
    } catch (FileNotFoundException e) {
        throw new ELFException(e);
    }
}