Package org.jnode.apps.vmware.disk.handler

Examples of org.jnode.apps.vmware.disk.handler.ExtentFactory


     * @throws UnsupportedFormatException
     */
    public VMWareDisk(File file) throws IOException, UnsupportedFormatException {
        FileDescriptor fd = IOUtils.readFileDescriptor(file);

        ExtentFactory factory = fd.getExtentFactory();

        this.handler = factory.createIOHandler(fd);
        this.descriptor = fd.getDescriptor();

        this.length = handler.getNbSectors() * IOHandler.SECTOR_SIZE;
        LOG.debug("handler for file " + file.getName() + " : " + handler.getClass().getName());
    }
View Full Code Here

TOP

Related Classes of org.jnode.apps.vmware.disk.handler.ExtentFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.