org.freehep.maven.nar
Class NarInfo

java.lang.Object
  extended by org.freehep.maven.nar.NarInfo

public class NarInfo
extends Object

Version:
$Id: NarInfo.java 13203 2007-07-31 23:19:30Z duns $
Author:
Mark Donszelmann

Field Summary
static String NAR_PROPERTIES
           
 
Constructor Summary
NarInfo(String groupId, String artifactId, String version, org.apache.maven.plugin.logging.Log log)
           
 
Method Summary
 void addNar(String aol, String type, String nar)
           
 boolean exists(JarFile jar)
           
 String getAOL(String aol)
           
 String[] getAttachedNars(String aol, String type)
           
 String getBinding(String aol, String defaultBinding)
          No binding means default binding.
 String getLibs(String aol)
           
 String getOptions(String aol)
           
 String getSysLibs(String aol)
           
 void read(File file)
           
 void read(InputStream is)
           
 void read(JarFile jar)
           
 void setBinding(String aol, String value)
           
 void setNar(String aol, String type, String nar)
           
 String toString()
           
 void writeToFile(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAR_PROPERTIES

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

NarInfo

public NarInfo(String groupId,
               String artifactId,
               String version,
               org.apache.maven.plugin.logging.Log log)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

exists

public boolean exists(JarFile jar)

read

public void read(JarFile jar)
          throws IOException
Throws:
IOException

read

public void read(File file)
          throws IOException
Throws:
IOException

read

public void read(InputStream is)
          throws IOException
Throws:
IOException

getBinding

public String getBinding(String aol,
                         String defaultBinding)
No binding means default binding.

Parameters:
aol -
Returns:

setBinding

public void setBinding(String aol,
                       String value)

getAttachedNars

public String[] getAttachedNars(String aol,
                                String type)

addNar

public void addNar(String aol,
                   String type,
                   String nar)

setNar

public void setNar(String aol,
                   String type,
                   String nar)

getAOL

public String getAOL(String aol)

getOptions

public String getOptions(String aol)

getLibs

public String getLibs(String aol)

getSysLibs

public String getSysLibs(String aol)

writeToFile

public void writeToFile(File file)
                 throws IOException
Throws:
IOException


Copyright © 2000-2007 FreeHEP. All Rights Reserved.