org.apache.maven.wagon.providers.ssh

Class LSParser


public class LSParser
extends java.lang.Object

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

Method Summary

List
parseFiles(String rawLS)
Parse a raw "ls -la", and obtain the list of files.

Method Details

parseFiles

public List parseFiles(String rawLS)
            throws TransferFailedException
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.