Package net.kemitix.ugiggle.trello
Class LocalAttachment
- java.lang.Object
-
- net.kemitix.ugiggle.trello.LocalAttachment
-
- All Implemented Interfaces:
Attachment
public class LocalAttachment extends Object implements Attachment
An attachment that has already been downloaded. Calling download, is a noop that returns the local file.
-
-
Constructor Summary
Constructors Constructor Description LocalAttachment(File filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attachmentdownload()Downlaods the file to local file system.FilegetFileName()The name of the attachment file.
-
-
-
Constructor Detail
-
LocalAttachment
public LocalAttachment(File filename)
-
-
Method Detail
-
getFileName
public File getFileName()
Description copied from interface:AttachmentThe name of the attachment file.- Specified by:
getFileNamein interfaceAttachment- Returns:
- the name of the file
-
download
public Attachment download()
Description copied from interface:AttachmentDownlaods the file to local file system.- Specified by:
downloadin interfaceAttachment- Returns:
- the name of the local file.
-
-