~ubuntu-branches/ubuntu/maverick/proguard/maverick

« back to all changes in this revision

Viewing changes to src/proguard/obfuscate/MappingReader.java

  • Committer: Bazaar Package Importer
  • Author(s): Sam Clegg
  • Date: 2005-11-13 09:42:59 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051113094259-432zf4yyw4890mmn
Tags: 3.4-1
* New upstream release (Closes: #338355)
* debian/control: bump standards version
* debian/copyright: update FSF address
* increase java stack size for proguard and proguardgui

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: MappingReader.java,v 1.8 2004/08/15 12:39:30 eric Exp $
 
1
/* $Id: MappingReader.java,v 1.10 2005/06/11 13:13:16 eric Exp $
2
2
 *
3
3
 * ProGuard -- shrinking, optimization, and obfuscation of Java class files.
4
4
 *
5
 
 * Copyright (c) 2002-2004 Eric Lafortune (eric@graphics.cornell.edu)
 
5
 * Copyright (c) 2002-2005 Eric Lafortune (eric@graphics.cornell.edu)
6
6
 *
7
7
 * This program is free software; you can redistribute it and/or modify it
8
8
 * under the terms of the GNU General Public License as published by the Free
31
31
 */
32
32
public class MappingReader
33
33
{
34
 
    private String mappingFileName;
35
 
 
36
 
 
37
 
    public MappingReader(String mappingFileName)
 
34
    private File mappingFile;
 
35
 
 
36
 
 
37
    public MappingReader(File mappingFile)
38
38
    {
39
 
        this.mappingFileName = mappingFileName;
 
39
        this.mappingFile = mappingFile;
40
40
    }
41
41
 
42
42
 
52
52
        {
53
53
            reader = new LineNumberReader(
54
54
                     new BufferedReader(
55
 
                     new FileReader(mappingFileName)));
 
55
                     new FileReader(mappingFile)));
56
56
 
57
57
            String className = null;
58
58