net.sf.plb4jedit.plb
Class PlbSource

java.lang.Object
  extended bynet.sf.plb4jedit.plb.PlbSource

public class PlbSource
extends Object

Description: Anaylyze PLB source and give access to its structure (variables, labels, includes).

Version:
$Header: /cvsroot/plb4jedit/plb4jedit/Plb/src/java/net/sf/plb4jedit/plb/PlbSource.java,v 1.1 2003/11/04 17:40:31 skopp Exp $
Author:
Peter Schaefer

Field Summary
static String cvsId
           
 
Constructor Summary
PlbSource(File f)
           
PlbSource(String[] lines, String path)
           
 
Method Summary
 boolean definesLabel(String label)
           
 boolean definesVariable(String variable)
           
 List getIncludes()
           
 List getLabels()
           
 int getNumberOfLines()
           
 String getPath()
           
 ResourceManager getResources(String plbPath)
           
 List getVariables()
           
 String getVersion()
           
 boolean isInclude()
           
 boolean isIoInclude()
           
 boolean isMiscInclude()
           
 boolean isRecordInclude()
           
static void main(String[] args)
           
 void print()
           
static void printMap(Map m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvsId

public static final String cvsId
See Also:
Constant Field Values
Constructor Detail

PlbSource

public PlbSource(String[] lines,
                 String path)

PlbSource

public PlbSource(File f)
          throws FileNotFoundException,
                 IOException
Method Detail

print

public void print()

getVariables

public List getVariables()

getIncludes

public List getIncludes()

getLabels

public List getLabels()

getPath

public String getPath()

getVersion

public String getVersion()

isInclude

public boolean isInclude()

isRecordInclude

public boolean isRecordInclude()

isIoInclude

public boolean isIoInclude()

isMiscInclude

public boolean isMiscInclude()

getNumberOfLines

public int getNumberOfLines()

definesVariable

public boolean definesVariable(String variable)

definesLabel

public boolean definesLabel(String label)

getResources

public ResourceManager getResources(String plbPath)
                             throws FileNotFoundException,
                                    IOException
Throws:
FileNotFoundException
IOException

printMap

public static void printMap(Map m)

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2003 Riege Software Internationl. All Rights Reserved.