|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mqe.MQe | +--com.ibm.mqe.MQeAdapter | +--com.ibm.mqe.adapters.MQeDiskFieldsAdapter | +--com.ibm.mqe.adapters.MQeCaseInsensitiveDiskAdapter
This class implements a disk adapter that is insensitive to the 'case' of the filename used during matching. Some JVM/OS combinations list files with different case to that in which they were created. This means that the simple filtering in the superclass ignores them.
This class converts both the compator and the comperand to lowercase before performing the comparison. This ensures the best chance of finding a valid match.
Note that the conversion to lower case may be innapropriate on platforms where the case is honoured, and where there are non-mqe files stored that could be confused by case.
Note also that the conversion could represent a drop in performance.
Field Summary |
Fields inherited from class com.ibm.mqe.MQeAdapter |
MQe_Adapter_BYTECOUNTS, MQe_Adapter_EXISTS, MQe_Adapter_FILENAME, MQe_Adapter_FILTER, MQe_Adapter_LIST, MQe_Adapter_READ, MQe_Adapter_RENAME, MQe_Adapter_RETRIES, MQe_Adapter_UPDATE, MQe_Adapter_WRITE |
Constructor Summary | |
MQeCaseInsensitiveDiskAdapter()
|
Method Summary | |
java.lang.String[] |
listMatchingFiles()
List Matching Files. |
Methods inherited from class com.ibm.mqe.adapters.MQeDiskFieldsAdapter |
activate, close, control, erase, open, readObject, status, writeObject |
Methods inherited from class com.ibm.mqe.MQeAdapter |
read |
Methods inherited from class com.ibm.mqe.MQe |
abbreviate, alias, asciiToByte, byteToAscii, byteToHex, byteToHex, byteToInt, byteToLong, byteToShort, byteToUnicode, fileSeparator, getEventLogHandler, hexToAscii, hexToByte, intToByte, isCLDC, loadClass, loadObject, log, setEventLogHandler, setLoader, sliceByteArray, type, unicodeToByte, uniqueValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MQeCaseInsensitiveDiskAdapter()
Method Detail |
public java.lang.String[] listMatchingFiles()
List Matching Files.
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |