public class LSParser extends Object
ls
command from any ssh server on any OS.Constructor and Description |
---|
LSParser() |
Modifier and Type | Method and Description |
---|---|
List<String> |
parseFiles(String rawLS)
Parse a raw "ls -FlA", and obtain the list of files.
|
public LSParser()
public List<String> parseFiles(String rawLS) throws TransferFailedException
rawLS
- the raw LS to parse.TransferFailedException
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.