com.atlassian.jira.issue.attachment
Interface AttachmentZipKit.AttachmentZipEntry

Enclosing class:
AttachmentZipKit

public static interface AttachmentZipKit.AttachmentZipEntry

These are the data returned about entries in a zip file


Method Summary
 String getAbbreviatedName()
           
 int getDirectoryDepth()
           
 long getEntryIndex()
           
 String getExtension()
           
 String getMimetype()
           
 Date getModifiedDate()
           
 String getName()
           
 long getSize()
           
 boolean isDirectory()
           
 

Method Detail

getEntryIndex

long getEntryIndex()
Returns:
the entryIndex within the zip file

getName

String getName()
Returns:
the file name of the zip entry

getAbbreviatedName

String getAbbreviatedName()
Returns:
the abbreviated file name

getExtension

String getExtension()
Returns:
the extension of the file name of the zip entry

getSize

long getSize()
Returns:
the size of the file uncompressed

isDirectory

boolean isDirectory()
Returns:
true if the entry is a directory instead of a file

getDirectoryDepth

int getDirectoryDepth()
Returns:
the number of directories deep this entry is

getModifiedDate

Date getModifiedDate()
Returns:
The date the entry was last modified

getMimetype

String getMimetype()
Returns:
The mimetype of the entry


Copyright © 2002-2013 Atlassian. All Rights Reserved.