renamed package to lowercase to fit with other projects

This commit is contained in:
nathan 2017-08-23 13:54:31 +02:00
parent 75351a1ff8
commit 6b990dd090
20 changed files with 59 additions and 59 deletions

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser;
package dorkbox.cabparser;
public class CabException extends Exception {
private static final long serialVersionUID = 1L;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser;
package dorkbox.cabparser;
import java.io.IOException;
import java.io.InputStream;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser;
package dorkbox.cabparser;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
@ -21,11 +21,11 @@ import java.io.InputStream;
import java.io.OutputStream;
import java.util.Enumeration;
import dorkbox.cabParser.decompress.CabDecompressor;
import dorkbox.cabParser.structure.CabEnumerator;
import dorkbox.cabParser.structure.CabFileEntry;
import dorkbox.cabParser.structure.CabFolderEntry;
import dorkbox.cabParser.structure.CabHeader;
import dorkbox.cabparser.decompress.CabDecompressor;
import dorkbox.cabparser.structure.CabEnumerator;
import dorkbox.cabparser.structure.CabFileEntry;
import dorkbox.cabparser.structure.CabFolderEntry;
import dorkbox.cabparser.structure.CabHeader;
import dorkbox.util.Version;
public final class CabParser {

View File

@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser;
import dorkbox.cabParser.structure.CabFileEntry;
package dorkbox.cabparser;
import java.io.OutputStream;
import dorkbox.cabparser.structure.CabFileEntry;
public interface CabStreamSaver {
OutputStream openOutputStream(CabFileEntry entry);
void closeOutputStream(OutputStream outputStream, CabFileEntry entry);

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser;
package dorkbox.cabparser;
public final class Checksum {
@SuppressWarnings("fallthrough")

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser;
package dorkbox.cabparser;
public final class CorruptCabException extends CabException {

View File

@ -13,19 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.decompress;
package dorkbox.cabparser.decompress;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import dorkbox.cabParser.CabException;
import dorkbox.cabParser.decompress.lzx.DecompressLzx;
import dorkbox.cabParser.decompress.zip.DecompressZip;
import dorkbox.cabParser.CorruptCabException;
import dorkbox.cabParser.decompress.none.DecompressNone;
import dorkbox.cabParser.structure.CabConstants;
import dorkbox.cabParser.structure.CfDataRecord;
import dorkbox.cabparser.CabException;
import dorkbox.cabparser.CorruptCabException;
import dorkbox.cabparser.decompress.lzx.DecompressLzx;
import dorkbox.cabparser.decompress.none.DecompressNone;
import dorkbox.cabparser.decompress.zip.DecompressZip;
import dorkbox.cabparser.structure.CabConstants;
import dorkbox.cabparser.structure.CfDataRecord;
public final class CabDecompressor implements CabConstants {
private byte[] readBuffer;

View File

@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.decompress;
package dorkbox.cabparser.decompress;
import dorkbox.cabParser.CabException;
import dorkbox.cabParser.structure.CabConstants;
import dorkbox.cabparser.CabException;
import dorkbox.cabparser.structure.CabConstants;
public interface Decompressor extends CabConstants {

View File

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.decompress.lzx;
package dorkbox.cabparser.decompress.lzx;
import dorkbox.cabParser.CabException;
import dorkbox.cabParser.CorruptCabException;
import dorkbox.cabParser.decompress.Decompressor;
import dorkbox.cabparser.CabException;
import dorkbox.cabparser.CorruptCabException;
import dorkbox.cabparser.decompress.Decompressor;
public final class DecompressLzx implements Decompressor, LZXConstants {
private int[] extraBits = new int[51];

View File

@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.decompress.lzx;
package dorkbox.cabparser.decompress.lzx;
import dorkbox.cabParser.CorruptCabException;
import dorkbox.cabparser.CorruptCabException;
final class DecompressLzxTree implements LZXConstants {
private int size;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.decompress.lzx;
package dorkbox.cabparser.decompress.lzx;
public interface LZXConstants {
public static final int PRETREE_NUM_ELEMENTS = 20;

View File

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.decompress.none;
package dorkbox.cabparser.decompress.none;
import dorkbox.cabParser.CabException;
import dorkbox.cabParser.CorruptCabException;
import dorkbox.cabParser.decompress.Decompressor;
import dorkbox.cabparser.CabException;
import dorkbox.cabparser.CorruptCabException;
import dorkbox.cabparser.decompress.Decompressor;
public final class DecompressNone implements Decompressor {
@Override

View File

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.decompress.zip;
package dorkbox.cabparser.decompress.zip;
import dorkbox.cabParser.CabException;
import dorkbox.cabParser.CorruptCabException;
import dorkbox.cabParser.decompress.Decompressor;
import dorkbox.cabparser.CabException;
import dorkbox.cabparser.CorruptCabException;
import dorkbox.cabparser.decompress.Decompressor;
public final class DecompressZip implements Decompressor {
private static final int[] ar1 = {3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,

View File

@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.decompress.zip;
package dorkbox.cabparser.decompress.zip;
import dorkbox.cabParser.CorruptCabException;
import dorkbox.cabparser.CorruptCabException;
final class DecompressZipState {
private int intA;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.structure;
package dorkbox.cabparser.structure;
public interface CabConstants {
int CAB_BLOCK_SIZE = 32768;

View File

@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.structure;
import dorkbox.cabParser.CabParser;
package dorkbox.cabparser.structure;
import java.util.Enumeration;
import java.util.NoSuchElementException;
import dorkbox.cabparser.CabParser;
public final class CabEnumerator implements Enumeration<Object> {
private int fileCount = 0;
private int folderCount = 0;

View File

@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.structure;
package dorkbox.cabparser.structure;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;
import java.util.Date;
import dorkbox.cabParser.CabException;
import dorkbox.cabParser.CorruptCabException;
import dorkbox.cabparser.CabException;
import dorkbox.cabparser.CorruptCabException;
import dorkbox.util.bytes.LittleEndian;
public final class CabFileEntry {

View File

@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.structure;
import dorkbox.util.bytes.LittleEndian;
package dorkbox.cabparser.structure;
import java.io.IOException;
import java.io.InputStream;
import dorkbox.util.bytes.LittleEndian;
public final class CabFolderEntry implements CabConstants {
/** offset of the first CFDATA block in this folder, 4bytes */
public long coffCabStart;

View File

@ -13,16 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.structure;
package dorkbox.cabparser.structure;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import dorkbox.cabParser.CabException;
import dorkbox.cabParser.CorruptCabException;
import dorkbox.cabparser.CabException;
import dorkbox.cabparser.CabStreamSaver;
import dorkbox.cabparser.CorruptCabException;
import dorkbox.util.bytes.LittleEndian;
import dorkbox.cabParser.CabStreamSaver;
public final class CabHeader implements CabConstants {

View File

@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.cabParser.structure;
package dorkbox.cabparser.structure;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import dorkbox.cabParser.CabException;
import dorkbox.cabParser.Checksum;
import dorkbox.cabParser.CorruptCabException;
import dorkbox.cabparser.CabException;
import dorkbox.cabparser.Checksum;
import dorkbox.cabparser.CorruptCabException;
import dorkbox.util.bytes.LittleEndian;
public final class CfDataRecord {