com.ibm.mm.sdk.common
Class DKCC2Mime
java.lang.Object
|
+--com.ibm.mm.sdk.common.DKCC2Mime
- All Implemented Interfaces:
- DKConstant, DKMessageId, java.io.Serializable
- public class DKCC2Mime
- extends java.lang.Object
- implements DKMessageId, DKConstant, java.io.Serializable
- See Also:
- Serialized Form
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Method Summary |
java.lang.String |
getProperty(java.lang.String key)
/* Searches for the property with the specified key in the CC MimeType file. |
void |
list(java.io.PrintStream out)
/* Prints this property list out to the specified output stream. |
void |
list(java.io.PrintWriter out)
/* Prints this property list out to the specified output stream. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DKCC2Mime
public DKCC2Mime()
DKCC2Mime
public DKCC2Mime(java.lang.String fn)
DKCC2Mime
public DKCC2Mime(java.net.URL fn)
getProperty
public java.lang.String getProperty(java.lang.String key)
throws DKUsageError
- /* Searches for the property with the specified key in the CC MimeType file.
/* If the CC to MimeType file is not found, the default CMBCC2MIME.ini
/* file will be used. If the CMBCC2MIME.INI is not found
/* DKUsageError is thrown.
/* If the key is not found in the CC MimeType file, the
/* method returns null.
/*
/* Parameters:
/* key - the property key.
/* Returns:
/* the value in the CC MimeType file with the specified key value.
/* Throws: DKUsageError
/* if an error occurred when reading the CC MimeType file
list
public void list(java.io.PrintStream out)
throws DKUsageError
- /* Prints this property list out to the specified output stream.
/* This method is useful for debugging.
/*
/* Parameters:
/* out - an output stream.
list
public void list(java.io.PrintWriter out)
throws DKUsageError
- /* Prints this property list out to the specified output stream.
/* This method is useful for debugging.
/*
/* Parameters:
/* out - an output stream.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.