Class FileEndpointImpl
- java.lang.Object
-
- org.jboss.windup.web.services.rest.FileEndpointImpl
-
- All Implemented Interfaces:
FileEndpoint
public class FileEndpointImpl extends Object implements FileEndpoint
- Author:
- Jesse Sightler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.windup.web.services.rest.FileEndpoint
FileEndpoint.PathTargetType
-
-
Constructor Summary
Constructors Constructor Description FileEndpointImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanpathExists(String pathStr)FileEndpoint.PathTargetTypepathTargetType(String pathStr)Gets an indication as to whether the given path is a file or a directory.
-
-
-
Method Detail
-
pathExists
public boolean pathExists(String pathStr)
- Specified by:
pathExistsin interfaceFileEndpoint
-
pathTargetType
public FileEndpoint.PathTargetType pathTargetType(String pathStr)
Description copied from interface:FileEndpointGets an indication as to whether the given path is a file or a directory. This will return null if this cannot be determined for any reason. For example, this will return null if the path is blank, non-existent, or if the server has no read permissions on this path.- Specified by:
pathTargetTypein interfaceFileEndpoint
-
-