Packages

c

com.acxiom.aws.fs

S3FileManager

class S3FileManager extends FileManager

Linear Supertypes
FileManager, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. S3FileManager
  2. FileManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new S3FileManager(region: String, bucket: String, accessKeyId: Option[String] = None, secretAccessKey: Option[String] = None, accountId: Option[String] = None, role: Option[String] = None, partition: Option[String] = None)
  2. new S3FileManager(s3Client: AmazonS3, bucket: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def connect(): Unit

    Connect to the file system

    Connect to the file system

    Definition Classes
    S3FileManager → FileManager
  7. def copy(input: InputStream, output: OutputStream, copyBufferSize: Int, closeStreams: Boolean): Boolean
    Definition Classes
    FileManager
  8. def copy(input: InputStream, output: OutputStream): Boolean
    Definition Classes
    FileManager
  9. def deleteFile(path: String): Boolean

    Attempts to delete the provided path.

    Attempts to delete the provided path.

    path

    The path to delete.

    returns

    True if the path could be deleted.

    Definition Classes
    S3FileManager → FileManager
  10. def disconnect(): Unit

    Disconnect from the file system

    Disconnect from the file system

    Definition Classes
    S3FileManager → FileManager
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def exists(path: String): Boolean

    Checks the path to determine whether it exists or not.

    Checks the path to determine whether it exists or not.

    path

    The path to verify

    returns

    True if the path exists, otherwise false.

    Definition Classes
    S3FileManager → FileManager
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getDirectoryListing(path: String): List[FileInfo]
    Definition Classes
    FileManager
  17. def getFileListing(path: String): List[FileInfo]

    Returns a list of file names at the given path.

    Returns a list of file names at the given path.

    path

    The path to list.

    returns

    A list of files at the given path

    Definition Classes
    S3FileManager → FileManager
  18. def getInputStream(path: String, bufferSize: Int): InputStream

    Creates a buffered input stream for the provided path.

    Creates a buffered input stream for the provided path.

    path

    The path to read data from

    bufferSize

    The buffer size to apply to the stream

    returns

    A buffered input stream

    Definition Classes
    S3FileManager → FileManager
  19. def getOutputStream(path: String, append: Boolean, bufferSize: Int): OutputStream

    Creates a buffered output stream for the provided path.

    Creates a buffered output stream for the provided path.

    path

    The path where data will be written.

    append

    Boolean flag indicating whether data should be appended. Default is true

    bufferSize

    The buffer size to apply to the stream

    Definition Classes
    S3FileManager → FileManager
  20. def getSize(path: String): Long

    Get the size of the file at the given path.

    Get the size of the file at the given path. If the path is not a file, an exception will be thrown.

    path

    The path to the file

    returns

    size of the given file

    Definition Classes
    S3FileManager → FileManager
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def rename(path: String, destPath: String): Boolean

    Will attempt to rename the provided path to the destination path.

    Will attempt to rename the provided path to the destination path.

    path

    The path to rename.

    destPath

    The destination path.

    returns

    True if the path could be renamed.

    Definition Classes
    S3FileManager → FileManager
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from FileManager

Inherited from AnyRef

Inherited from Any

Ungrouped