com.notuvy.util
Class IconResource

java.lang.Object
  extended by com.notuvy.util.PackageResource
      extended by com.notuvy.util.IconResource

public class IconResource
extends PackageResource

Read a resource from the jar (classpath actually) and return it as an icon.

Version:
$Id: IconResource.java,v 1.1 2006/06/02 04:11:52 murali Exp $
Author:
Murali Krishnan

Field Summary
 
Fields inherited from class com.notuvy.util.PackageResource
LOG, RE_MULTI_SLASH
 
Constructor Summary
protected IconResource(String pUri)
           
 
Method Summary
static ImageIcon get(String pUri)
           
 ImageIcon getIcon()
           
protected  Object readContent()
           
 
Methods inherited from class com.notuvy.util.PackageResource
getContent, getUri, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IconResource

protected IconResource(String pUri)
Method Detail

get

public static ImageIcon get(String pUri)

readContent

protected Object readContent()
Specified by:
readContent in class PackageResource

getIcon

public ImageIcon getIcon()


Copyright © 2013. All Rights Reserved.