Package com.github.stephenc.javaisotools.sabre.impl

Examples of com.github.stephenc.javaisotools.sabre.impl.FileDataReference


        } else if (myUDFImageBuilderFile.getFileType() == UDFImageBuilderFile.FileType.Directory) {
            fileType = 1;
        }

        if (myUDFImageBuilderFile.getFileType() == UDFImageBuilderFile.FileType.File) {
            myStreamHandler.data(new FileDataReference(myUDFImageBuilderFile.getSourceFile()));        // source file
            myStreamHandler.data(new WordDataReference(dataLocation));                                // data location
        } else if (myUDFImageBuilderFile.getFileType() == UDFImageBuilderFile.FileType.Directory) {
            // get child files and pass required information
            UDFImageBuilderFile[] childUDFImageBuilderFiles = myUDFImageBuilderFile.getChilds();
View Full Code Here


        myStreamHandler.startElement(new SabreUDFElement(SabreUDFElement.UDFElementType.RawFileData));
    }

    public void doRawFileData(File sourceFile)
            throws HandlerException {
        myStreamHandler.data(new FileDataReference(sourceFile));
    }
View Full Code Here

     * @param version File version
     *
     * @throws HandlerException Invalid File version or file is a directory
     */
    public ISO9660File(File file, int version) throws HandlerException {
        this.dataReference = new FileDataReference(file);
        this.lastModified = file.lastModified();
        this.isDirectory = file.isDirectory();
        this.absolutePath = file.getAbsolutePath();
        setName(file.getName());
        setVersion(version);
View Full Code Here

TOP

Related Classes of com.github.stephenc.javaisotools.sabre.impl.FileDataReference

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.