org.apache.maven.wagon.providers.ssh

Class LSParser

public class LSParser extends Object

LSParser

Version: $Id: LSParser.java 485738 2006-12-11 16:22:26Z joakime $

Author: Joakim Erdfelt

Method Summary
ListparseFiles(String rawLS)
Parse a raw "ls -la", and obtain the list of files.

Method Detail

parseFiles

public List parseFiles(String rawLS)
Parse a raw "ls -la", and obtain the list of files. TODO: Does not handle files with spaces in the name correctly.

Parameters: rawLS the raw LS to parse.

Returns: the list of files found.

Throws: TransferFailedException