~teemu-heinamaki/ubuntu/maverick/tuxguitar/merge-from-debian

« back to all changes in this revision

Viewing changes to TuxGuitar-gtp/src/org/herac/tuxguitar/io/gtp/GTPFileFormat.java

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Coval
  • Date: 2009-04-25 19:49:27 UTC
  • mfrom: (1.1.3 upstream) (2.1.7 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090425194927-pblqed0zxp0pmyeq
Tags: 1.1-1
* New Upstream Release (Closes: #489859) (LP: #366476)
* Merged patch : tuxguitar_1.0.dak-1ubuntu1.patch
* debian/README.txt
  - suggests to install tuxguitar-jsa

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.herac.tuxguitar.io.gtp;
 
2
 
 
3
import org.herac.tuxguitar.song.factory.TGFactory;
 
4
 
 
5
public class GTPFileFormat {
 
6
        
 
7
        public static final String DEFAULT_TG_CHARSET = "UTF-8";
 
8
        public static final String DEFAULT_VERSION_CHARSET = "UTF-8";
 
9
        
 
10
        private GTPSettings settings;
 
11
        private TGFactory factory;
 
12
        
 
13
        public GTPFileFormat(GTPSettings settings){
 
14
                this.settings = settings;
 
15
        }
 
16
        
 
17
        public void init(TGFactory factory) {
 
18
                this.factory = factory;
 
19
        }
 
20
        
 
21
        protected GTPSettings getSettings(){
 
22
                return this.settings;
 
23
        }
 
24
        
 
25
        protected TGFactory getFactory(){
 
26
                return this.factory;
 
27
        }
 
28
}