KIE NIO.2 :: Model 6.0.0.CR4-Pre1

org.kie.commons.java.nio.file
Interface Path

All Superinterfaces:
Comparable<Path>, Iterable<Path>, Watchable
All Known Implementing Classes:
AbstractPath, GeneralPathImpl

public interface Path
extends Comparable<Path>, Iterable<Path>, Watchable


Method Summary
 boolean endsWith(Path other)
           
 boolean endsWith(String other)
           
 Path getFileName()
           
 FileSystem getFileSystem()
           
 Path getName(int index)
           
 int getNameCount()
           
 Path getParent()
           
 Path getRoot()
           
 boolean isAbsolute()
           
 Path normalize()
           
 Path relativize(Path other)
           
 Path resolve(Path other)
           
 Path resolve(String other)
           
 Path resolveSibling(Path other)
           
 Path resolveSibling(String other)
           
 boolean startsWith(Path other)
           
 boolean startsWith(String other)
           
 Path subpath(int beginIndex, int endIndex)
           
 Path toAbsolutePath()
           
 File toFile()
           
 Path toRealPath(LinkOption... options)
           
 URI toUri()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface org.kie.commons.java.nio.file.Watchable
register, register
 

Method Detail

getFileSystem

FileSystem getFileSystem()

isAbsolute

boolean isAbsolute()

getRoot

Path getRoot()

getFileName

Path getFileName()

getParent

Path getParent()

getNameCount

int getNameCount()

getName

Path getName(int index)
             throws IllegalArgumentException
Throws:
IllegalArgumentException

subpath

Path subpath(int beginIndex,
             int endIndex)
             throws IllegalArgumentException
Throws:
IllegalArgumentException

startsWith

boolean startsWith(Path other)

startsWith

boolean startsWith(String other)
                   throws InvalidPathException
Throws:
InvalidPathException

endsWith

boolean endsWith(Path other)

endsWith

boolean endsWith(String other)
                 throws InvalidPathException
Throws:
InvalidPathException

normalize

Path normalize()

resolve

Path resolve(Path other)

resolve

Path resolve(String other)
             throws InvalidPathException
Throws:
InvalidPathException

resolveSibling

Path resolveSibling(Path other)

resolveSibling

Path resolveSibling(String other)
                    throws InvalidPathException
Throws:
InvalidPathException

relativize

Path relativize(Path other)
                throws IllegalArgumentException
Throws:
IllegalArgumentException

toUri

URI toUri()
          throws IOException,
                 SecurityException
Throws:
IOException
SecurityException

toAbsolutePath

Path toAbsolutePath()
                    throws IOException,
                           SecurityException
Throws:
IOException
SecurityException

toRealPath

Path toRealPath(LinkOption... options)
                throws IOException,
                       SecurityException
Throws:
IOException
SecurityException

toFile

File toFile()
            throws UnsupportedOperationException
Throws:
UnsupportedOperationException

KIE NIO.2 :: Model 6.0.0.CR4-Pre1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.