Object

org.locationtech.geomesa.utils.io

PathUtils

Related Doc: package io

Permalink

object PathUtils extends FileSystemDelegate with LazyLogging

Linear Supertypes
FileSystemDelegate, LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PathUtils
  2. FileSystemDelegate
  3. LazyLogging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class DeleteFileVisitor extends FileVisitor[Path]

    Permalink

    File visitor to delete nested paths

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def deleteRecursively(path: Path): Unit

    Permalink

    Delete a path, including all children

    Delete a path, including all children

    path

    path

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getBaseNameAndExtension(path: String, includeDot: Boolean = true): (String, String)

    Permalink

    Gets the base file name and the extension.

    Gets the base file name and the extension. Useful for adding unique ids to a common file name, while preserving the extension

    path

    path

    includeDot

    if true, the '.' will be preserved in the extension, otherwise it will be dropped

    returns

    (base name including path prefix, extension)

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getHandle(path: String): FileHandle

    Permalink

    Get the handle for a given file, which may or may not exist

    Get the handle for a given file, which may or may not exist

    path

    path

    Definition Classes
    PathUtilsFileSystemDelegate
  13. def getUncompressedExtension(path: String): String

    Permalink

    Returns the file extension, minus any compression that may be present

    Returns the file extension, minus any compression that may be present

    path

    file path

  14. def getUrl(path: String): URL

    Permalink

    Registers Hadoop URL handlers via #configureURLFactory()

    Registers Hadoop URL handlers via #configureURLFactory()

    path

    Input URL string

    returns

    URL instance

  15. def handleCompression(is: InputStream, filename: String): InputStream

    Permalink

    Wrap the input stream in a decompressor, if the file is compressed

    Wrap the input stream in a decompressor, if the file is compressed

    is

    input stream

    filename

    filename (used to determine compression)

  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def interpretPath(path: String): Seq[FileHandle]

    Permalink

    Expand wildcards, recurse into directories, etc

    Expand wildcards, recurse into directories, etc

    path

    input path

    returns

    any files found in the interpreted path

    Definition Classes
    PathUtilsFileSystemDelegate
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isRemote(path: String): Boolean

    Permalink

    Checks to see if the path uses a URL pattern and then if it is *not* file://

    Checks to see if the path uses a URL pattern and then if it is *not* file://

    path

    Input resource path

    returns

    Whether or not the resource is remote.

  20. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FileSystemDelegate

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped