lumis.portal.file
Class FileParameter

Package class diagram package FileParameter
java.lang.Object
  extended by java.io.File
      extended by lumis.portal.file.FileParameter
All Implemented Interfaces:
Serializable, Comparable<File>

@StableMinor(version="6.2",
             sinceVersion="6.1")
public class FileParameter
extends File

Represents a file upload parameter

Since:
4.0.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
FileParameter(String serviceInstanceId, String pathname, String contentType, long size)
           
 
Method Summary
 String getContentType()
           
 IFileMetadata getMetadata()
          Retrieves the metadata of the file.
 long getSize()
           
 
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileParameter

public FileParameter(String serviceInstanceId,
                     String pathname,
                     String contentType,
                     long size)
Method Detail

getContentType

public String getContentType()

getSize

public long getSize()

getMetadata

public IFileMetadata getMetadata()
                          throws PortalException
Retrieves the metadata of the file.

Returns:
the metadata of the file.
Throws:
PortalException
Since:
6.0.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.