This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
/
FileBrowser.java
58 lines (49 loc) · 1.6 KB
/
FileBrowser.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*******************************************************************************
* Copyright (c) 2019- UT-Battelle, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Initial API and implementation and/or initial documentation -
* Jay Jay Billings, Joe Osborn
*******************************************************************************/
package org.eclipse.ice.commands;
import java.util.ArrayList;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* This interface sets the structure for the FileBrowser subclasses, which
* contain the logic to browse file and directory tree structures on local and
* remote systems.
*
* @author Joe Osborn
*
*/
public interface FileBrowser {
/**
* Logger for handling event messages and other information.
*/
static final Logger logger = LoggerFactory.getLogger(FileBrowser.class);
/**
* An array list of files that are visited within the top directory
*/
ArrayList<String> fileList = new ArrayList<String>();
/**
* An array list of directories that are visited within the top directory
*/
ArrayList<String> directoryList = new ArrayList<String>();
/**
* Getter for the array list which contains the directory list paths
*
* @return
*/
public ArrayList<String> getDirectoryList();
/**
* Getter for the hashmap which contains the file list paths
*
* @return
*/
public ArrayList<String> getFileList();
}