com.notuvy.util
Class PackageResource

java.lang.Object
  extended by com.notuvy.util.PackageResource
Direct Known Subclasses:
IconResource, ImageResource, TextResource

public abstract class PackageResource
extends Object

Read a resource from the jar (classpath actually).

Version:
$Id: PackageResource.java,v 1.2 2006/06/21 04:09:36 murali Exp $
Author:
Murali Krishnan

Field Summary
protected static org.apache.log4j.Logger LOG
           
static Pattern RE_MULTI_SLASH
           
 
Constructor Summary
PackageResource(String pUri)
           
 
Method Summary
protected  Object getContent()
           
 String getUri()
           
protected abstract  Object readContent()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RE_MULTI_SLASH

public static final Pattern RE_MULTI_SLASH

LOG

protected static final org.apache.log4j.Logger LOG
Constructor Detail

PackageResource

public PackageResource(String pUri)
Method Detail

getUri

public String getUri()

getContent

protected Object getContent()

toString

public String toString()
Overrides:
toString in class Object

readContent

protected abstract Object readContent()


Copyright © 2013. All Rights Reserved.