Class CacheFileInfoImpl
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.resources.cache.CacheFileInfoImpl
-
- All Implemented Interfaces:
CacheFileInfo
class CacheFileInfoImpl extends java.lang.Object implements CacheFileInfo
-
-
Field Summary
Fields Modifier and Type Field Description private CacheIndexEntryentryprivate CachedFileinfoFile
-
Constructor Summary
Constructors Constructor Description CacheFileInfoImpl(CachedFile infoFile, CacheIndexEntry entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDomain()longgetDownloadedAt()CachedFilegetInfoFile()java.lang.StringgetJnlpPath()java.util.DategetLastModified()java.io.FilegetParentFile()java.lang.StringgetProtocol()longgetSize()java.lang.StringtoString()
-
-
-
Field Detail
-
infoFile
private final CachedFile infoFile
-
entry
private final CacheIndexEntry entry
-
-
Constructor Detail
-
CacheFileInfoImpl
public CacheFileInfoImpl(CachedFile infoFile, CacheIndexEntry entry)
-
-
Method Detail
-
getInfoFile
public CachedFile getInfoFile()
- Specified by:
getInfoFilein interfaceCacheFileInfo
-
getParentFile
public java.io.File getParentFile()
- Specified by:
getParentFilein interfaceCacheFileInfo
-
getProtocol
public java.lang.String getProtocol()
- Specified by:
getProtocolin interfaceCacheFileInfo
-
getDomain
public java.lang.String getDomain()
- Specified by:
getDomainin interfaceCacheFileInfo
-
getSize
public long getSize()
- Specified by:
getSizein interfaceCacheFileInfo
-
getLastModified
public java.util.Date getLastModified()
- Specified by:
getLastModifiedin interfaceCacheFileInfo
-
getJnlpPath
public java.lang.String getJnlpPath()
- Specified by:
getJnlpPathin interfaceCacheFileInfo
-
getDownloadedAt
public long getDownloadedAt()
- Specified by:
getDownloadedAtin interfaceCacheFileInfo
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-