|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.jaw.impl.common.LibraryDefinition
A LibraryDefinition
is a machine neutral definition for a native library.
Eventually this class will also have the means to validate and verify that the library has come from a trusted source and the class has not been changed.
Constructor Summary | |
LibraryDefinition()
This constructor creates an empty, but initialized LibraryDefinition . |
Method Summary | |
java.lang.String |
getClassVersion()
Returns the version of this class. |
byte[] |
getImage()
Gets the bytes that define this class. |
java.lang.String |
getLibBaseName()
Gets the library base path name associated with this definition. |
java.lang.String |
getLibName()
Gets the library name associated with this definition. |
long |
getLibVersion()
Gets the library version number for the library associated with this definition. |
java.lang.String |
getNativeName()
Returns the platform specific library name. |
java.lang.String |
getOSArch()
Gets the machine architecture associated with this definition. |
java.lang.String |
getOSName()
Gets the operating system name associated with this definition. |
java.lang.String |
getOSVersion()
Gets the operating system version associated with this definition. |
java.lang.String |
getRelativePath()
Returns a relative pathname for a library that expresses the portion of the path beneath the library base path. |
void |
setByteImage(java.io.File file_obj)
Copies the actual library bytes into the byteImage byte array attribute. |
void |
setLibBaseName(java.lang.String baseName)
Sets the library base path name associated with this definition. |
void |
setLibName(java.lang.String name)
Sets the library name associated with this definition. |
void |
setLibVersion(long version)
Sets the library version number for the library associated with this definition. |
void |
setNativeName(java.lang.String libname)
Sets the platform specific library name. |
void |
setOSArch(java.lang.String arch)
Sets the machine architecture associated with this definition. |
void |
setOSName(java.lang.String name)
Sets the operating system name associated with this definition. |
void |
setOSVersion(java.lang.String version)
Sets the operating system version associated with this definition. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public LibraryDefinition()
LibraryDefinition
.Method Detail |
public byte[] getImage()
public void setByteImage(java.io.File file_obj) throws java.io.IOException
public java.lang.String getLibName()
public void setLibName(java.lang.String name)
public java.lang.String getLibBaseName()
public void setLibBaseName(java.lang.String baseName)
public long getLibVersion()
public void setLibVersion(long version)
long
argument that is the
system version number.public java.lang.String getOSName()
public void setOSName(java.lang.String name)
public java.lang.String getOSArch()
public void setOSArch(java.lang.String arch)
public java.lang.String getOSVersion()
public void setOSVersion(java.lang.String version)
public java.lang.String getRelativePath()
public java.lang.String getNativeName()
public void setNativeName(java.lang.String libname)
libname
- The library name.public java.lang.String getClassVersion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |