~ubuntu-branches/ubuntu/oneiric/tuxguitar/oneiric

« back to all changes in this revision

Viewing changes to TuxGuitar/src/org/herac/tuxguitar/gui/tools/browser/base/TGBrowserElement.java

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Coval
  • Date: 2008-06-19 00:30:30 UTC
  • mto: (5.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20080619003030-h719szrhsngou7c6
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.herac.tuxguitar.gui.tools.browser.base;
 
2
 
 
3
import java.io.InputStream;
 
4
 
 
5
import org.herac.tuxguitar.gui.tools.browser.TGBrowserException;
 
6
 
 
7
public abstract class TGBrowserElement {
 
8
        
 
9
        private String name;
 
10
        
 
11
        public TGBrowserElement(String name){
 
12
                this.name = name;
 
13
        }
 
14
        
 
15
        public String getName(){
 
16
                return this.name;
 
17
        }
 
18
        
 
19
        public abstract boolean isFolder();
 
20
        
 
21
        public abstract InputStream getInputStream()throws TGBrowserException;
 
22
        
 
23
}