org.apache.jetspeed.components.util.system
Interface SystemResourceUtil

All Known Implementing Classes:
ClassLoaderSystemResourceUtilImpl, FSSystemResourceUtilImpl

public interface SystemResourceUtil

SystemResourceUtil

This is a simple component that allows location of system resources based on implementation. Sources could be anyone or combination of: the file system, classloaders, VFS source (see the Virtual File System project: http://jakarta.apache.org/commons/sandbox/vfs/)

Version:
$Id: SystemResourceUtil.java 516448 2007-03-09 16:25:47Z ate $
Author:
Scott T. Weaver

Method Summary
 java.lang.String getSystemRoot()
           
 java.net.URL getURL(java.lang.String relativePath)
          Creates a fully qualified path to the relativePath as a URL
 

Method Detail

getSystemRoot

java.lang.String getSystemRoot()
Returns:
The root from were this system is running

getURL

java.net.URL getURL(java.lang.String relativePath)
                    throws java.net.MalformedURLException
Creates a fully qualified path to the relativePath as a URL

Parameters:
relativePath -
Returns:
Throws:
java.net.MalformedURLException


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.