com.sun.comm
Class CommProperties

java.lang.Object
  extended bycom.sun.comm.CommProperties

public class CommProperties
extends java.lang.Object


Field Summary
private static java.util.Properties commProps
           
private static java.lang.String propFilename
           
 
Constructor Summary
CommProperties()
           
 
Method Summary
private static java.lang.String findPropFile(java.lang.String filename)
          Find specified properties file in directory in the specified location.
static java.lang.String getProperty(java.lang.String propName)
          Look up a property in javax.comm.properties
static java.lang.String getPropFilename()
          Return the full path of javax.comm.properties, assuming it was located successfully.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commProps

private static java.util.Properties commProps

propFilename

private static java.lang.String propFilename
Constructor Detail

CommProperties

public CommProperties()
Method Detail

getProperty

public static java.lang.String getProperty(java.lang.String propName)
Look up a property in javax.comm.properties


getPropFilename

public static java.lang.String getPropFilename()
Return the full path of javax.comm.properties, assuming it was located successfully.


findPropFile

private static java.lang.String findPropFile(java.lang.String filename)
Find specified properties file in directory in the specified location.

Parameters:
filename -
Returns:
String path to properties file or null if it cannot be located.