public class UsbModem.ModemConfigFileFilter
extends java.lang.Object
implements java.io.FilenameFilter
Modifier and Type | Field and Description |
---|---|
static int |
ANY
ANY configuration file as long as it is a "*.props"
|
static int |
GENERIC
Configuration file must be generic.
|
static int |
USBPORT
USB port must match exactly
|
static int |
USBPORT_VENDOR_PRODUCT
USB port must match exactly Vendor ID must match exactly Product ID
must match exactly
|
static int |
USBPORT_VENDOR_PRODUCTS
USB port must match exactly Vendor ID must match exactly Product ID
must match one from 'allowed' list
|
static int |
VENDOR_PRODUCT
Vendor ID must match exactly Product ID must match exactly
|
static int |
VENDOR_PRODUCTS
Vendor ID must match exactly.
|
Constructor and Description |
---|
UsbModem.ModemConfigFileFilter(java.lang.String ext,
int filter,
java.lang.String[] allowedProdictISs)
ModemConfigFileFilter constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File directory,
java.lang.String filename) |
public static final int ANY
public static final int GENERIC
public static final int VENDOR_PRODUCTS
public static final int VENDOR_PRODUCT
public static final int USBPORT
public static final int USBPORT_VENDOR_PRODUCTS
public static final int USBPORT_VENDOR_PRODUCT
Copyright © 2009 Eurotech Inc. All rights reserved.