org.apache.struts2.dispatcher.multipart

## Class StrutsUploadedFile

- java.lang.Object
- - org.apache.struts2.dispatcher.multipart.StrutsUploadedFile

- All Implemented Interfaces:
    UploadedFile

      public class StrutsUploadedFile
      extends Object
      implements UploadedFile

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StrutsUploadedFile(File file)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `delete()`
    `String` | `getAbsolutePath()`
    `File` | `getContent()`
    `String` | `getName()`
    `boolean` | `isFile()`
    `Long` | `length()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StrutsUploadedFile

          public StrutsUploadedFile(File file)

  - ### Method Detail

    - #### length

          public Long length()

      Specified by:
        `length` in interface `UploadedFile`

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `UploadedFile`

    - #### isFile

          public boolean isFile()

      Specified by:
        `isFile` in interface `UploadedFile`

    - #### delete

          public boolean delete()

      Specified by:
        `delete` in interface `UploadedFile`

    - #### getAbsolutePath

          public String getAbsolutePath()

      Specified by:
        `getAbsolutePath` in interface `UploadedFile`

    - #### getContent

          public File getContent()

      Specified by:
        `getContent` in interface `UploadedFile`

Copyright © 2000–2019 Apache Software Foundation. All rights reserved.