Package com.adito.vfs.utils

Examples of com.adito.vfs.utils.URI


     * (non-Javadoc)
     * @see com.adito.navigation.AbstractFavoriteItem#getFavoriteSubType()
     */
    public String getFavoriteSubType() {
        try {
            return new URI(((NetworkPlace) getResource()).getPath()).getScheme().toUpperCase();
        } catch (Exception e) {
            return "";
        }
    }
View Full Code Here


                NetworkPlace np = (NetworkPlace) i.next();
                VFSProvider provider = VFSProviderManager.getInstance().getProvider(np.getScheme());
                if (provider == null) {
                  try {
                    if(np.getScheme().equals("")) {
                    URI uri = NetworkPlaceUtil.createURIForPath(np.getPath());
                    provider = VFSProviderManager.getInstance().getProvider(uri.getScheme());
                    }
                    if(provider == null) {
                      log.warn("Provider that handles '" + np.getScheme() + "' cannot be found.");
                    }
                  } catch(Exception ex) {
View Full Code Here

TOP

Related Classes of com.adito.vfs.utils.URI

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.