org.gcube.portlets.admin.software_upload_wizard.shared.filetypes
Class GarFileType

java.lang.Object
  extended by org.gcube.portlets.admin.software_upload_wizard.shared.filetypes.FileType
      extended by org.gcube.portlets.admin.software_upload_wizard.shared.filetypes.GarFileType
All Implemented Interfaces:
Serializable

public class GarFileType
extends FileType

See Also:
Serialized Form

Field Summary
static String CONTENT_TYPE
           
static String DESCRIPTION
           
static ArrayList<String> EXTENSIONS
           
static String NAME
           
 
Constructor Summary
GarFileType()
           
 
Method Summary
 boolean allowsMulti()
           
 ArrayList<String> getAllowedExtensions()
           
 String getContentType()
           
 String getDescription()
           
 String getName()
           
 boolean isMandatory()
           
 
Methods inherited from class org.gcube.portlets.admin.software_upload_wizard.shared.filetypes.FileType
isFilenameExtensionValid, isValidContentType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values

EXTENSIONS

public static final ArrayList<String> EXTENSIONS

CONTENT_TYPE

public static final String CONTENT_TYPE
See Also:
Constant Field Values
Constructor Detail

GarFileType

public GarFileType()
Method Detail

getName

public String getName()
Specified by:
getName in class FileType

getDescription

public String getDescription()
Specified by:
getDescription in class FileType

allowsMulti

public boolean allowsMulti()
Specified by:
allowsMulti in class FileType

getAllowedExtensions

public ArrayList<String> getAllowedExtensions()
Specified by:
getAllowedExtensions in class FileType

getContentType

public String getContentType()
Specified by:
getContentType in class FileType

isMandatory

public boolean isMandatory()
Specified by:
isMandatory in class FileType


Copyright © 2013. All Rights Reserved.