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,
String filename,
String longname,
FileAttributes attrs)
Add a file to the reply.
|
Collection<SshFxpNameReply.ReplyFile> |
getFiles()
Returns the files.
|
SftpConstants.Type |
getMessage()
Returns the reply message type.
|
boolean |
isEol() |
void |
setEol(boolean eol) |
String |
toString() |
public SshFxpNameReply(int id)
id
- The reply id.public SftpConstants.Type getMessage()
public void addFile(SshFile sshFile, String filename, String longname, FileAttributes attrs)
sshFile
- The ssh file.filename
- The file name.longname
- The long file message.attrs
- The file attributes.public Collection<SshFxpNameReply.ReplyFile> getFiles()
public boolean isEol()
public void setEol(boolean eol)
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.