Packages

object PathFilter extends LowPriorityPathFilter

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

Type Members

  1. implicit final class Ops extends AnyVal with PathFilterExtensions

    Provides extension methods for combining or negating PathFilter instances or or other filter types that can be safely converted (see sbt.io.DirectoryFilter and sbt.io.HiddenFileFilter).

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. def apply(globs: Glob*): PathFilter

    Returns a PathFilter that accepts any path for which there exists a Glob that matches the path

    Returns a PathFilter that accepts any path for which there exists a Glob that matches the path

    globs

    the glob patterns

    returns

    a PathFilter that accepts any path matching one or more input Globs.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromAttributePredicate(filter: (FileAttributes) ⇒ Boolean): PathFilter

    Converts a function from FileAttributes to Boolean to a PathFilter by ignoring the Path parameter to PathFilter.accept.

    Converts a function from FileAttributes to Boolean to a PathFilter by ignoring the Path parameter to PathFilter.accept.

    filter

    the function to wrap

    returns

    the PathFilter.

  11. def fromFileFilter(fileFilter: FileFilter): PathFilter

    Converts an instance of sbt.io.FileFilter to an sbt.nio.file.PathFilter.

    Converts an instance of sbt.io.FileFilter to an sbt.nio.file.PathFilter. It will de-structure the sbt.io.FileFilter if possible to convert it to an equivalent, and possibly more efficient, PathFilter.

    fileFilter

    the filter to convert

    returns

    the converted.

  12. def fromPathPredicate(filter: (Path) ⇒ Boolean): PathFilter

    Converts a function from Path to Boolean to a PathFilter by ignoring the FileAttributes parameter to PathFilter.accept.

    Converts a function from Path to Boolean to a PathFilter by ignoring the FileAttributes parameter to PathFilter.accept.

    filter

    the function to wrap

    returns

    the PathFilter.

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. implicit def globToPathFilter(glob: Glob): PathFilter

    Converts a Glob to a PathFilter.

    Converts a Glob to a PathFilter. The PathFilter.accept method will ignore the FileAttributes parameter and return true if the path parameter is accepted by the input glob.

    glob

    the glob string to convert to a filter, e.g. "**/*.scala"

    returns

    the PathFilter corresponding to the parsed Glob. May throw an exception if the glob string can not be parsed into a Glob.

    Definition Classes
    LowPriorityPathFilter
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. implicit def stringToPathFilter(glob: String): PathFilter

    Converts a glob string to a sbt.nio.file.PathFilter.

    Converts a glob string to a sbt.nio.file.PathFilter.

    glob

    the glob string to convert to a filter, e.g. "**/*.scala"

    returns

    the PathFilter corresponding to the parsed Glob. May throw an exception if the glob string can not be parsed into a Glob.

    Definition Classes
    LowPriorityPathFilter
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from LowPriorityPathFilter

Inherited from AnyRef

Inherited from Any

Ungrouped