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
 String getSystemRoot()
           
 URL getURL(String relativePath)
          Creates a fully qualified path to the relativePath as a URL
 

Method Detail

getSystemRoot

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

getURL

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

Parameters:
relativePath -
Returns:
Throws:
MalformedURLException


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