Package org.jboss.fresh.vfs

Examples of org.jboss.fresh.vfs.VFSMeta


        if (p == null)
            p = System.getProperties();

        String fsname = p.getProperty("memfs.name", "");
        if("".equals(fsname)) throw new RuntimeException("memfs.name property not specified - it is used to specify a required VFS name");
        VFSMeta meta = new MemVFSMeta(null, fsname);

        return meta;
    }
View Full Code Here


        if (p == null)
            p = System.getProperties();

        String fsroot = p.getProperty("diskfs.root", "");
        if("".equals(fsroot)) throw new RuntimeException("diskfs.root property not specified - it is required.");
        VFSMeta meta = new DiskVFSMeta(fsroot);

        return meta;
    }
View Full Code Here

TOP

Related Classes of org.jboss.fresh.vfs.VFSMeta

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.