public class DownloadableFileDescriptionImpl extends java.lang.Object implements DownloadableFileDescription
Constructor and Description |
---|
DownloadableFileDescriptionImpl(java.lang.String downloadUrl,
java.lang.String fileName,
java.lang.String fileExtension) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
generateFileName(Condition<? super java.lang.String> validator) |
java.lang.String |
getDefaultFileName() |
java.lang.String |
getDownloadUrl() |
java.lang.String |
getPresentableDownloadUrl() |
java.lang.String |
getPresentableFileName() |
int |
hashCode() |
public DownloadableFileDescriptionImpl(java.lang.String downloadUrl, java.lang.String fileName, java.lang.String fileExtension)
public java.lang.String getDownloadUrl()
getDownloadUrl
in interface DownloadableFileDescription
public java.lang.String getPresentableFileName()
getPresentableFileName
in interface DownloadableFileDescription
public java.lang.String getPresentableDownloadUrl()
getPresentableDownloadUrl
in interface DownloadableFileDescription
public java.lang.String getDefaultFileName()
getDefaultFileName
in interface DownloadableFileDescription
public java.lang.String generateFileName(Condition<? super java.lang.String> validator)
generateFileName
in interface DownloadableFileDescription
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object