1 package com.sslexplorer.vfs; 2 3 public class VFSPath 4 { 5 private int position; 6 private String folder; 7 private String path; 8 9 public VFSPath(int position, String path){ 10 this.position = position; 11 this.path = path; 12 this.folder = path.substring(path.lastIndexOf("/")+1, path.length()) ; 13 } 14 15 public String getFolder() { 16 return folder; 17 } 18 19 public void setFolder(String folder) { 20 this.folder = folder; 21 } 22 23 public String getPath() { 24 return path; 25 } 26 27 public void setPath(String path) { 28 this.path = path; 29 } 30 31 public int getPosition() { 32 return position; 33 } 34 35 public void setPosition(int position) { 36 this.position = position; 37 } 38 } 39 | Popular Tags |