Class FileParameter

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<java.io.File>

    @StableMinor(version="17.0",
                 sinceVersion="6.1")
    public class FileParameter
    extends java.io.File
    Represents a file upload parameter
    Since:
    4.0.0
    Version:
    $Revision: 26587 $ $Date: 2024-08-26 21:09:17 -0300 (Mon, 26 Aug 2024) $
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.io.File

        pathSeparator, pathSeparatorChar, separator, separatorChar
    • Constructor Summary

      Constructors 
      Constructor Description
      FileParameter​(java.lang.String serviceInstanceId, java.lang.String pathname, java.lang.String contentType, long size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.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, toPath, toString, toURI, toURL
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FileParameter

        public FileParameter​(java.lang.String serviceInstanceId,
                             java.lang.String pathname,
                             java.lang.String contentType,
                             long size)
    • Method Detail

      • getContentType

        public java.lang.String getContentType()
      • getSize

        public long getSize()