public class SshFxpNameReply extends BaseReply
| Modifier and Type | Class and Description |
|---|---|
static class |
SshFxpNameReply.ReplyFile
Contains informations of requested files.
|
| Constructor and Description |
|---|
SshFxpNameReply(int id)
Creates a SshFxpHandleReply instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(SshFile sshFile,
java.lang.String filename,
java.lang.String longname,
FileAttributes attrs)
Add a file to the reply.
|
java.util.Collection<SshFxpNameReply.ReplyFile> |
getFiles()
Returns the files.
|
SftpConstants.Type |
getMessage()
Returns the reply message type.
|
boolean |
isEol() |
void |
setEol(boolean eol) |
java.lang.String |
toString() |
public SshFxpNameReply(int id)
id - The reply id.public SftpConstants.Type getMessage()
public java.lang.String toString()
toString in class java.lang.Objectpublic void addFile(SshFile sshFile, java.lang.String filename, java.lang.String longname, FileAttributes attrs)
sshFile - The ssh file.filename - The file name.longname - The long file message.attrs - The file attributes.public java.util.Collection<SshFxpNameReply.ReplyFile> getFiles()
public boolean isEol()
public void setEol(boolean eol)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.