mirror of https://github.com/rusefi/usb4java.git
Change name to org.usb4java in Java source code.
This commit is contained in:
parent
b4cf41f469
commit
3db5b2c1a5
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.ByteBuffer;
|
||||
|
@ -27,12 +27,12 @@ import javax.usb.event.UsbDeviceEvent;
|
|||
import javax.usb.event.UsbDeviceListener;
|
||||
import javax.usb.util.DefaultUsbControlIrp;
|
||||
|
||||
import de.ailis.usb4java.descriptors.SimpleUsbStringDescriptor;
|
||||
import de.ailis.usb4java.libusb.ConfigDescriptor;
|
||||
import de.ailis.usb4java.libusb.Device;
|
||||
import de.ailis.usb4java.libusb.DeviceHandle;
|
||||
import de.ailis.usb4java.libusb.LibUsb;
|
||||
import de.ailis.usb4java.libusb.LibUsbException;
|
||||
import org.usb4java.descriptors.SimpleUsbStringDescriptor;
|
||||
import org.usb4java.libusb.ConfigDescriptor;
|
||||
import org.usb4java.libusb.Device;
|
||||
import org.usb4java.libusb.DeviceHandle;
|
||||
import org.usb4java.libusb.LibUsb;
|
||||
import org.usb4java.libusb.LibUsbException;
|
||||
|
||||
/**
|
||||
* A Usb device.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.Queue;
|
||||
|
@ -14,9 +14,9 @@ import javax.usb.UsbException;
|
|||
import javax.usb.UsbIrp;
|
||||
import javax.usb.UsbShortPacketException;
|
||||
|
||||
import de.ailis.usb4java.libusb.DeviceHandle;
|
||||
import de.ailis.usb4java.libusb.LibUsb;
|
||||
import de.ailis.usb4java.libusb.LibUsbException;
|
||||
import org.usb4java.libusb.DeviceHandle;
|
||||
import org.usb4java.libusb.LibUsb;
|
||||
import org.usb4java.libusb.LibUsbException;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.util.Properties;
|
||||
|
||||
|
@ -15,7 +15,7 @@ import java.util.Properties;
|
|||
final class Config
|
||||
{
|
||||
/** Base key name for properties. */
|
||||
private static final String KEY_BASE = "de.ailis.usb4java.";
|
||||
private static final String KEY_BASE = "org.usb4java.";
|
||||
|
||||
/** The default USB communication timeout in milliseconds. */
|
||||
private static final int DEFAULT_TIMEOUT = 2500;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.ArrayList;
|
||||
|
@ -17,11 +17,11 @@ import javax.usb.UsbConfigurationDescriptor;
|
|||
import javax.usb.UsbDisconnectedException;
|
||||
import javax.usb.UsbException;
|
||||
|
||||
import de.ailis.usb4java.descriptors.SimpleUsbConfigurationDescriptor;
|
||||
import de.ailis.usb4java.libusb.ConfigDescriptor;
|
||||
import de.ailis.usb4java.libusb.InterfaceDescriptor;
|
||||
import de.ailis.usb4java.libusb.LibUsb;
|
||||
import de.ailis.usb4java.libusb.LibUsbException;
|
||||
import org.usb4java.descriptors.SimpleUsbConfigurationDescriptor;
|
||||
import org.usb4java.libusb.ConfigDescriptor;
|
||||
import org.usb4java.libusb.InterfaceDescriptor;
|
||||
import org.usb4java.libusb.LibUsb;
|
||||
import org.usb4java.libusb.LibUsbException;
|
||||
|
||||
/**
|
||||
* usb4java implementation of JSR-80 UsbConfiguration.
|
||||
|
@ -60,7 +60,7 @@ final class Configuration implements UsbConfiguration
|
|||
{
|
||||
this.device = device;
|
||||
this.descriptor = new SimpleUsbConfigurationDescriptor(descriptor);
|
||||
for (de.ailis.usb4java.libusb.Interface iface: descriptor.iface())
|
||||
for (org.usb4java.libusb.Interface iface: descriptor.iface())
|
||||
{
|
||||
for (InterfaceDescriptor ifaceDescriptor: iface.altsetting())
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import javax.usb.UsbControlIrp;
|
||||
import javax.usb.UsbException;
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.descriptors.SimpleUsbDeviceDescriptor;
|
||||
import org.usb4java.descriptors.SimpleUsbDeviceDescriptor;
|
||||
|
||||
/**
|
||||
* Unique USB device ID.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import javax.usb.event.UsbDeviceDataEvent;
|
||||
import javax.usb.event.UsbDeviceErrorEvent;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
@ -14,13 +14,13 @@ import java.util.Map;
|
|||
import javax.usb.UsbException;
|
||||
import javax.usb.UsbHub;
|
||||
|
||||
import de.ailis.usb4java.descriptors.SimpleUsbDeviceDescriptor;
|
||||
import de.ailis.usb4java.libusb.Context;
|
||||
import de.ailis.usb4java.libusb.Device;
|
||||
import de.ailis.usb4java.libusb.DeviceDescriptor;
|
||||
import de.ailis.usb4java.libusb.DeviceList;
|
||||
import de.ailis.usb4java.libusb.LibUsb;
|
||||
import de.ailis.usb4java.libusb.LibUsbException;
|
||||
import org.usb4java.descriptors.SimpleUsbDeviceDescriptor;
|
||||
import org.usb4java.libusb.Context;
|
||||
import org.usb4java.libusb.Device;
|
||||
import org.usb4java.libusb.DeviceDescriptor;
|
||||
import org.usb4java.libusb.DeviceList;
|
||||
import org.usb4java.libusb.LibUsb;
|
||||
import org.usb4java.libusb.LibUsbException;
|
||||
|
||||
/**
|
||||
* Manages the USB devices.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
/**
|
||||
* Thrown when a USB device was not found by id.
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import javax.usb.UsbConst;
|
||||
import javax.usb.UsbEndpoint;
|
||||
import javax.usb.UsbEndpointDescriptor;
|
||||
import javax.usb.UsbPipe;
|
||||
|
||||
import de.ailis.usb4java.descriptors.SimpleUsbEndpointDescriptor;
|
||||
import de.ailis.usb4java.libusb.EndpointDescriptor;
|
||||
import org.usb4java.descriptors.SimpleUsbEndpointDescriptor;
|
||||
import org.usb4java.libusb.EndpointDescriptor;
|
||||
|
||||
/**
|
||||
* usb4java implementation of UsbEndpoint.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.usb.UsbHub;
|
||||
|
||||
import de.ailis.usb4java.libusb.Device;
|
||||
import de.ailis.usb4java.libusb.LibUsbException;
|
||||
import org.usb4java.libusb.Device;
|
||||
import org.usb4java.libusb.LibUsbException;
|
||||
|
||||
/**
|
||||
* usb4java implementation of JSR-80 UsbHub.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.ArrayList;
|
||||
|
@ -19,9 +19,9 @@ import javax.usb.UsbInterfaceDescriptor;
|
|||
import javax.usb.UsbInterfacePolicy;
|
||||
import javax.usb.UsbNotActiveException;
|
||||
|
||||
import de.ailis.usb4java.descriptors.SimpleUsbInterfaceDescriptor;
|
||||
import de.ailis.usb4java.libusb.EndpointDescriptor;
|
||||
import de.ailis.usb4java.libusb.InterfaceDescriptor;
|
||||
import org.usb4java.descriptors.SimpleUsbInterfaceDescriptor;
|
||||
import org.usb4java.libusb.EndpointDescriptor;
|
||||
import org.usb4java.libusb.InterfaceDescriptor;
|
||||
|
||||
/**
|
||||
* usb4java implementation of UsbInterface.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.IntBuffer;
|
||||
|
@ -16,9 +16,9 @@ import javax.usb.UsbException;
|
|||
import javax.usb.UsbIrp;
|
||||
import javax.usb.UsbShortPacketException;
|
||||
|
||||
import de.ailis.usb4java.libusb.DeviceHandle;
|
||||
import de.ailis.usb4java.libusb.LibUsb;
|
||||
import de.ailis.usb4java.libusb.LibUsbException;
|
||||
import org.usb4java.libusb.DeviceHandle;
|
||||
import org.usb4java.libusb.LibUsb;
|
||||
import org.usb4java.libusb.LibUsbException;
|
||||
|
||||
/**
|
||||
* A queue for USB I/O request packets.
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import de.ailis.usb4java.libusb.Device;
|
||||
import de.ailis.usb4java.libusb.LibUsbException;
|
||||
import org.usb4java.libusb.Device;
|
||||
import org.usb4java.libusb.LibUsbException;
|
||||
|
||||
/**
|
||||
* A non-hub USB device.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import javax.usb.event.UsbPipeDataEvent;
|
||||
import javax.usb.event.UsbPipeErrorEvent;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import javax.usb.UsbHub;
|
||||
import javax.usb.UsbPort;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -19,7 +19,7 @@ import javax.usb.UsbStringDescriptor;
|
|||
import javax.usb.event.UsbDeviceListener;
|
||||
import javax.usb.util.DefaultUsbControlIrp;
|
||||
|
||||
import de.ailis.usb4java.descriptors.SimpleUsbDeviceDescriptor;
|
||||
import org.usb4java.descriptors.SimpleUsbDeviceDescriptor;
|
||||
|
||||
/**
|
||||
* The virtual USB root hub.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -14,7 +14,7 @@ import javax.usb.UsbConst;
|
|||
import javax.usb.UsbDevice;
|
||||
import javax.usb.UsbInterface;
|
||||
|
||||
import de.ailis.usb4java.descriptors.SimpleUsbConfigurationDescriptor;
|
||||
import org.usb4java.descriptors.SimpleUsbConfigurationDescriptor;
|
||||
|
||||
/**
|
||||
* Virtual USB configuration used by the virtual USB root hub.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -16,7 +16,7 @@ import javax.usb.UsbInterface;
|
|||
import javax.usb.UsbInterfaceDescriptor;
|
||||
import javax.usb.UsbInterfacePolicy;
|
||||
|
||||
import de.ailis.usb4java.descriptors.SimpleUsbInterfaceDescriptor;
|
||||
import org.usb4java.descriptors.SimpleUsbInterfaceDescriptor;
|
||||
|
||||
/**
|
||||
* The virtual USB interfaces used by the virtual USB root hub.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
/**
|
||||
* Thrown when USB device scan fails.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import javax.usb.UsbDevice;
|
||||
import javax.usb.UsbException;
|
||||
|
@ -13,8 +13,8 @@ import javax.usb.UsbServices;
|
|||
import javax.usb.event.UsbServicesEvent;
|
||||
import javax.usb.event.UsbServicesListener;
|
||||
|
||||
import de.ailis.usb4java.libusb.Loader;
|
||||
import de.ailis.usb4java.libusb.LoaderException;
|
||||
import org.usb4java.libusb.Loader;
|
||||
import org.usb4java.libusb.LoaderException;
|
||||
|
||||
/**
|
||||
* usb4java implementation of JSR-80 UsbServices.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
/**
|
||||
* Thrown when usb4java services could not be created.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import javax.usb.event.UsbServicesEvent;
|
||||
import javax.usb.event.UsbServicesListener;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.adapter;
|
||||
package org.usb4java.adapter;
|
||||
|
||||
import javax.usb.event.UsbDeviceDataEvent;
|
||||
import javax.usb.event.UsbDeviceErrorEvent;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.adapter;
|
||||
package org.usb4java.adapter;
|
||||
|
||||
import javax.usb.event.UsbPipeDataEvent;
|
||||
import javax.usb.event.UsbPipeErrorEvent;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.adapter;
|
||||
package org.usb4java.adapter;
|
||||
|
||||
import javax.usb.event.UsbServicesEvent;
|
||||
import javax.usb.event.UsbServicesListener;
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
/**
|
||||
* Event adapter classes.
|
||||
*/
|
||||
package de.ailis.usb4java.adapter;
|
||||
package org.usb4java.adapter;
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.descriptors;
|
||||
package org.usb4java.descriptors;
|
||||
|
||||
import javax.usb.UsbConfigurationDescriptor;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.utils.DescriptorUtils;
|
||||
import org.usb4java.utils.DescriptorUtils;
|
||||
|
||||
/**
|
||||
* Simple USB configuration descriptor.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.descriptors;
|
||||
package org.usb4java.descriptors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.descriptors;
|
||||
package org.usb4java.descriptors;
|
||||
|
||||
import javax.usb.UsbDeviceDescriptor;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.utils.DescriptorUtils;
|
||||
import org.usb4java.utils.DescriptorUtils;
|
||||
|
||||
/**
|
||||
* Simple USB device descriptor.
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.descriptors;
|
||||
package org.usb4java.descriptors;
|
||||
|
||||
import javax.usb.UsbEndpointDescriptor;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.utils.DescriptorUtils;
|
||||
import org.usb4java.utils.DescriptorUtils;
|
||||
|
||||
/**
|
||||
* Simple USB endpoint descriptor.
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.descriptors;
|
||||
package org.usb4java.descriptors;
|
||||
|
||||
import javax.usb.UsbInterfaceDescriptor;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.utils.DescriptorUtils;
|
||||
import org.usb4java.utils.DescriptorUtils;
|
||||
|
||||
/**
|
||||
* Simple USB interface descriptor.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.descriptors;
|
||||
package org.usb4java.descriptors;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.ByteBuffer;
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
/**
|
||||
* USB Descriptor implementations.
|
||||
*/
|
||||
package de.ailis.usb4java.descriptors;
|
||||
package org.usb4java.descriptors;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.utils.DescriptorUtils;
|
||||
import org.usb4java.utils.DescriptorUtils;
|
||||
|
||||
/**
|
||||
* A generic representation of a BOS Device Capability descriptor.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
|
@ -25,7 +25,7 @@ import javax.usb.UsbConfigurationDescriptor;
|
|||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.utils.DescriptorUtils;
|
||||
import org.usb4java.utils.DescriptorUtils;
|
||||
|
||||
/**
|
||||
* A structure representing the standard USB configuration descriptor.
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.utils.DescriptorUtils;
|
||||
import org.usb4java.utils.DescriptorUtils;
|
||||
|
||||
/**
|
||||
* A structure representing the Container ID descriptor.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
/**
|
||||
* Structure representing a libusb session. The concept of individual libusb
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.ByteOrder;
|
||||
|
||||
import de.ailis.usb4java.utils.BufferUtils;
|
||||
import org.usb4java.utils.BufferUtils;
|
||||
|
||||
/**
|
||||
* Setup packet for control transfers.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
/**
|
||||
* Structure representing a USB device detected on the system.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
|
@ -25,8 +25,8 @@ import javax.usb.UsbDeviceDescriptor;
|
|||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.utils.BufferUtils;
|
||||
import de.ailis.usb4java.utils.DescriptorUtils;
|
||||
import org.usb4java.utils.BufferUtils;
|
||||
import org.usb4java.utils.DescriptorUtils;
|
||||
|
||||
/**
|
||||
* A structure representing the standard USB device descriptor.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
/**
|
||||
* Structure representing a handle on a USB device.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
|
@ -25,7 +25,7 @@ import javax.usb.UsbEndpointDescriptor;
|
|||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.utils.DescriptorUtils;
|
||||
import org.usb4java.utils.DescriptorUtils;
|
||||
|
||||
/**
|
||||
* A structure representing the standard USB endpoint descriptor.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
/**
|
||||
* Hotplug callback..
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
/**
|
||||
* Hotplug Callback Handle.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
|
@ -25,7 +25,7 @@ import javax.usb.UsbInterfaceDescriptor;
|
|||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import de.ailis.usb4java.utils.DescriptorUtils;
|
||||
import org.usb4java.utils.DescriptorUtils;
|
||||
|
||||
/**
|
||||
* A structure representing the standard USB interface descriptor.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
/**
|
||||
* Isochronous packet descriptor.
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.io.FileDescriptor;
|
||||
import java.nio.ByteBuffer;
|
||||
|
@ -28,7 +28,7 @@ import java.util.concurrent.ConcurrentMap;
|
|||
|
||||
import org.apache.commons.lang3.tuple.ImmutablePair;
|
||||
|
||||
import de.ailis.usb4java.utils.BufferUtils;
|
||||
import org.usb4java.utils.BufferUtils;
|
||||
|
||||
/**
|
||||
* Static class providing the constants and functions of libusb.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import javax.usb.UsbException;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
/**
|
||||
* Thrown when JNI library could not be loaded.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.io.FileDescriptor;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
/**
|
||||
* Asynchronous transfer callback.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Copyright 2012-2013 Toby Gray <toby.gray@realvnc.com>
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
import org.apache.commons.lang3.builder.CompareToBuilder;
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
/**
|
||||
* Low-Level classes based on the native libusb library.
|
||||
*/
|
||||
package de.ailis.usb4java.libusb;
|
||||
package org.usb4java.libusb;
|
||||
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
/**
|
||||
* The main usb4java package.
|
||||
*/
|
||||
package de.ailis.usb4java;
|
||||
package org.usb4java;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.utils;
|
||||
package org.usb4java.utils;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.IntBuffer;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* See LICENSE.md for licensing information.
|
||||
*/
|
||||
|
||||
package de.ailis.usb4java.utils;
|
||||
package org.usb4java.utils;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.HashMap;
|
||||
|
@ -14,7 +14,7 @@ import javax.usb.UsbDeviceDescriptor;
|
|||
import javax.usb.UsbEndpointDescriptor;
|
||||
import javax.usb.UsbInterfaceDescriptor;
|
||||
|
||||
import de.ailis.usb4java.libusb.LibUsb;
|
||||
import org.usb4java.libusb.LibUsb;
|
||||
|
||||
/**
|
||||
* Utility methods used for descriptor dumps.
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
/**
|
||||
* Utility classes providing static helper methods.
|
||||
*/
|
||||
package de.ailis.usb4java.utils;
|
||||
package org.usb4java.utils;
|
||||
|
|
Loading…
Reference in New Issue