Examples of ISO9660RootDirectory


Examples of com.github.stephenc.javaisotools.iso9660.ISO9660RootDirectory

        n3.addFile(contentsB);
        ISO9660Directory n2 = new ISO9660Directory("D2");
        n2.addDirectory(n3);
        ISO9660Directory n1 = new ISO9660Directory("D1");
        n1.addDirectory(n2);
        ISO9660RootDirectory root = new ISO9660RootDirectory();
        root.addDirectory(n1);

        StreamHandler streamHandler = new ISOImageFileHandler(outfile);
        CreateISO iso = new CreateISO(streamHandler, root);
        ISO9660Config iso9660Config = new ISO9660Config();
        iso9660Config.allowASCII(false);
View Full Code Here

Examples of com.github.stephenc.javaisotools.iso9660.ISO9660RootDirectory

        this.volumeFixups = new HashMap();

        checkMetadataFiles();

        // Use a copy of the original root for ISO 9660
        ISO9660RootDirectory isoRoot = (ISO9660RootDirectory) root.clone();
        this.helper = new ISO9660LayoutHelper(this, isoRoot);

        if (rrConfig != null) {
            this.factory = new ISO9660RockRidgeFactory(this, config, helper, root, isoRoot, volumeFixups);
        } else {
View Full Code Here

Examples of de.tu_darmstadt.informatik.rbg.hatlak.iso9660.ISO9660RootDirectory

     */
    private static void createDVDImage(final File src, final File dest) {

        if (dest == null || !dest.getName().endsWith(".iso")) {throw new IllegalArgumentException("dest must not be null and end in '.iso'");}

        final ISO9660RootDirectory root = new ISO9660RootDirectory();
        try {
            root.addContentsRecursively(src);
            final StreamHandler streamHandler = new ISOImageFileHandler(dest);
            CreateISO iso = new CreateISO(streamHandler, root);
            iso.process(new ISO9660Config(), new RockRidgeConfig(), new JolietConfig(), null);
        } catch (Exception e) {
            throw new RuntimeException("failed to create image", e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.