org.xnap.io
Class MetaInfoFile

java.lang.Object
  extended by java.io.File
      extended by org.xnap.io.MetaInfoFile
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<java.io.File>

public class MetaInfoFile
extends java.io.File

See Also:
Serialized Form

Field Summary
static java.lang.String BITRATE
           
static java.lang.String FREQUENCY
           
static java.lang.String HEIGHT
           
static java.lang.String LENGTH
           
static java.lang.String MD5
           
static java.lang.String WIDTH
           
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
MetaInfoFile(java.io.File file)
           
MetaInfoFile(java.lang.String filename)
           
 
Method Summary
 java.lang.Object get(java.lang.String key)
           
 java.lang.String getInfo()
           
 boolean isShared()
           
 boolean isUpToDate()
           
 java.util.Iterator keys()
           
 long lastUpdate()
           
 void put(java.lang.String key, java.lang.Object value)
           
 void setLastUpdate(long lastUpdate)
           
 void setShared(boolean shared)
           
 
Methods inherited from class java.io.File
canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BITRATE

public static final java.lang.String BITRATE
See Also:
Constant Field Values

FREQUENCY

public static final java.lang.String FREQUENCY
See Also:
Constant Field Values

LENGTH

public static final java.lang.String LENGTH
See Also:
Constant Field Values

HEIGHT

public static final java.lang.String HEIGHT
See Also:
Constant Field Values

MD5

public static final java.lang.String MD5
See Also:
Constant Field Values

WIDTH

public static final java.lang.String WIDTH
See Also:
Constant Field Values
Constructor Detail

MetaInfoFile

public MetaInfoFile(java.lang.String filename)

MetaInfoFile

public MetaInfoFile(java.io.File file)
Method Detail

get

public java.lang.Object get(java.lang.String key)

getInfo

public java.lang.String getInfo()

isShared

public boolean isShared()

isUpToDate

public boolean isUpToDate()

keys

public java.util.Iterator keys()

lastUpdate

public long lastUpdate()

put

public void put(java.lang.String key,
                java.lang.Object value)

setLastUpdate

public void setLastUpdate(long lastUpdate)

setShared

public void setShared(boolean shared)


Copyright © 2001-2005 XNap Team. All Rights Reserved.