|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.pavlov.randommedia.CacheObject
public class CacheObject
A (media) object that can be cached.
| Field Summary | |
|---|---|
Object |
object
The object itself. |
URL |
url
The URL of this object. |
| Constructor Summary | |
|---|---|
CacheObject(URL myUrl,
Object myObj)
Creates a new CacheObject instance. |
|
| Method Summary | |
|---|---|
protected void |
finalize()
Describe finalize method here. |
String |
getDirectoryName()
What's before the last slash in the filename. |
String |
getFileName()
Returns the object's filename. |
String |
getFileShortName()
The substring after the last slash in the filename. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public volatile URL url
public volatile Object object
| Constructor Detail |
|---|
public CacheObject(URL myUrl,
Object myObj)
CacheObject instance.
myUrl - an URL valuemyObj - an Object value| Method Detail |
|---|
public String getFileName()
String valuepublic String getFileShortName()
String valuepublic String getDirectoryName()
String value
protected void finalize()
throws Throwable
finalize method here.
finalize in class ObjectThrowable - if an error occurs
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||