Package org.apache.jackrabbit.vault.vlt.meta.xml.zip

Examples of org.apache.jackrabbit.vault.vlt.meta.xml.zip.ZipMetaDir


    public static MetaDirectory createMetaDirectory(File base) throws VltException {
        //return new FileMetaDir(base);
        try {
            //return new TarMetaDir(base);
            return new ZipMetaDir(base);
        } catch (IOException e) {
            throw new VltException("Error creating meta directory.", e);
        }
    }
View Full Code Here


    protected void setUp() throws Exception {
        super.setUp();
        if (file.exists()) {
            file.delete();
        }
        dir = new ZipMetaDir(file);
        dir.create("/a/b/c");
        dir.close();
        dir = null;
    }
View Full Code Here

    protected void tearDown() throws Exception {
        super.tearDown();
    }

    protected void open() throws IOException, VltException {
        dir = new ZipMetaDir(file);
        entries = dir.getEntries();
    }
View Full Code Here

    public static MetaDirectory createMetaDirectory(File base) throws VltException {
        //return new FileMetaDir(base);
        try {
            //return new TarMetaDir(base);
            return new ZipMetaDir(base);
        } catch (IOException e) {
            throw new VltException("Error creating meta directory.", e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.vault.vlt.meta.xml.zip.ZipMetaDir

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.