Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. public static void main(String[] args) {
  2. // TODO code application logic here
  3.  
  4. Central c = new Central();
  5. List<String[]> paths = c.GetFolderContent();
  6.  
  7. for (String[] x : paths) {
  8. System.out.println(x[0]);
  9. System.out.println(x[1]);
  10. }
  11. System.out.println("------------------------------------------");
  12. c.SetCurrentPath("D:\\");
  13. // c.Delete();
  14. paths = c.GetFolderContent();
  15. // c.SetCurrentPath(c.GetCurrentPath() + "\\" + x[0]);
  16. String nazwa="nazwa";
  17.  
  18.  
  19. c.newDir(c.GetCurrentPath() + "\\" + nazwa);
  20. for (String[] x : paths) {
  21. System.out.println(x[0]);
  22. // System.out.println(x[1]);
  23. }
  24.  
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement