Class StrumpfResource
- java.lang.Object
-
- org.eclipse.deeplearning4j.resources.BaseResource
-
- org.eclipse.deeplearning4j.resources.StrumpfResource
-
- All Implemented Interfaces:
DownloadableResource
public class StrumpfResource extends BaseResource
-
-
Field Summary
-
Fields inherited from class org.eclipse.deeplearning4j.resources.BaseResource
archiveFileName, fileName, md5Sum
-
-
Constructor Summary
Constructors Constructor Description StrumpfResource(String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfileName()The name of the file to be downloaded or if an archive, the naem of the extracted fileFilelocalCacheDirectory()The storage location representing the directory cacheResourceTyperesourceType()Returns the resource type for this resourceStringrootUrl()The root url to the resource.-
Methods inherited from class org.eclipse.deeplearning4j.resources.BaseResource
archiveFileName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.deeplearning4j.resources.DownloadableResource
delete, download, existsLocally, localPath, md5Sum
-
-
-
-
Constructor Detail
-
StrumpfResource
public StrumpfResource(String fileName)
-
-
Method Detail
-
fileName
public String fileName()
Description copied from interface:DownloadableResourceThe name of the file to be downloaded or if an archive, the naem of the extracted file- Returns:
-
rootUrl
public String rootUrl()
Description copied from interface:DownloadableResourceThe root url to the resource. This is going to be the directory name of where the file lives.- Returns:
-
localCacheDirectory
public File localCacheDirectory()
Description copied from interface:DownloadableResourceThe storage location representing the directory cache- Returns:
-
resourceType
public ResourceType resourceType()
Description copied from interface:DownloadableResourceReturns the resource type for this resource- Returns:
-
-