1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package net.sf.ginp.browser;
22
23 import net.sf.ginp.PicCollection;
24
25 /**
26 * @author Justin Sher
27 */
28 public interface FolderManager {
29
30 /**
31 * @param collection
32 * @return
33 */
34 int getPicturesLength(PicCollection collection);
35
36 /**
37 * @param collection
38 * @param count
39 * @return
40 */
41 String getFolder(PicCollection collection, int count);
42
43 /**
44 * @param collection
45 * @return
46 */
47 int getFoldersLength(PicCollection collection);
48
49 /**
50 * @param selectedFolder
51 * @return
52 */
53 int getPicturesInDirectoryLength(PicCollection collection,String selectedFolder);
54
55 /**
56 * @param string
57 * @return
58 */
59 String[] getFoldersInDirectory(PicCollection collection,String string);
60
61 /**
62 * @param path
63 * @return
64 */
65 String[] getPicturesInDirectory(PicCollection collection,String path);
66
67 /**
68 * @param picName
69 * @param collection
70 */
71 String getPrevPictureName(String picName, PicCollection collection);
72
73 /**
74 * @param picName
75 * @param collection
76 * @return
77 */
78 String getNextPictureName(String picName, PicCollection collection);
79
80 /**
81 * @param path
82 * @return
83 */
84 int getPicturesLength(PicCollection collection,String path);
85
86 /**
87 * @param collection
88 */
89 String[] getPictures(PicCollection collection);
90
91 /**
92 * @param tst1
93 */
94 String[] sortPictures(String[] tst1);
95
96
97 }