public class FileOps extends Object
| Constructor and Description |
|---|
FileOps(ShellSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
cat(String pathStr) |
String |
getWorkingDirectory() |
void |
listFiles(String pathStr) |
void |
pwd() |
void |
setWorkingDirectory(String pathStr) |
public FileOps(ShellSession session) throws IOException
IOExceptionpublic String getWorkingDirectory()
public void setWorkingDirectory(String pathStr) throws IOException
IOExceptionpublic void pwd()
public void cat(String pathStr) throws IllegalArgumentException, IOException
IllegalArgumentExceptionIOExceptionCopyright © 2016 Mapr Technologies, Inc.. All rights reserved.