comparison src/ch/ethz/ssh2/SFTPv6DirectoryEntry.java @ 273:91a31873c42a ganymed

start conversion from trilead to ganymed
author Carl Byington <carl@five-ten-sg.com>
date Fri, 18 Jul 2014 11:21:46 -0700
parents
children
comparison
equal deleted inserted replaced
272:ce2f4e397703 273:91a31873c42a
1 package ch.ethz.ssh2;
2
3 /**
4 * @version $Id: SFTPv6DirectoryEntry.java 151 2014-04-28 10:03:39Z dkocher@sudo.ch $
5 */
6 public class SFTPv6DirectoryEntry implements SFTPDirectoryEntry {
7 /**
8 * A relative name within the directory, without any path components.
9 */
10 public String filename;
11
12 /**
13 * The attributes of this entry.
14 */
15 public SFTPv6FileAttributes attributes;
16
17 public String getFilename() {
18 return filename;
19 }
20
21 public SFTPv6FileAttributes getAttributes() {
22 return attributes;
23 }
24
25 @Override
26 public String toString() {
27 final StringBuilder sb = new StringBuilder("SFTPv6DirectoryEntry{");
28 sb.append("filename='").append(filename).append('\'');
29 sb.append(", attributes=").append(attributes);
30 sb.append('}');
31 return sb.toString();
32 }
33 }