-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
187 changed files
with
15,267 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
puymvpjava/src/main/java/com/android/puy/puymvpjava/mqttv3/MacSignature.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...n/java/com/android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/BinaryDecoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
public interface BinaryDecoder extends Decoder { | ||
byte[] decode(byte[] var1) throws DecoderException; | ||
} |
10 changes: 10 additions & 0 deletions
10
...n/java/com/android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/BinaryEncoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// | ||
// Source code recreated from a .class file by IntelliJ IDEA | ||
// (powered by FernFlower decompiler) | ||
// | ||
|
||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
public interface BinaryEncoder extends Encoder { | ||
byte[] encode(byte[] var1) throws EncoderException; | ||
} |
18 changes: 18 additions & 0 deletions
18
...in/java/com/android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/CharEncoding.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// Source code recreated from a .class file by IntelliJ IDEA | ||
// (powered by FernFlower decompiler) | ||
// | ||
|
||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
public class CharEncoding { | ||
public static final String ISO_8859_1 = "ISO-8859-1"; | ||
public static final String US_ASCII = "US-ASCII"; | ||
public static final String UTF_16 = "UTF-16"; | ||
public static final String UTF_16BE = "UTF-16BE"; | ||
public static final String UTF_16LE = "UTF-16LE"; | ||
public static final String UTF_8 = "UTF-8"; | ||
|
||
public CharEncoding() { | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...c/main/java/com/android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/Charsets.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// | ||
// Source code recreated from a .class file by IntelliJ IDEA | ||
// (powered by FernFlower decompiler) | ||
// | ||
|
||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
import java.nio.charset.Charset; | ||
|
||
public class Charsets { | ||
public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); | ||
public static final Charset US_ASCII = Charset.forName("US-ASCII"); | ||
public static final Charset UTF_16 = Charset.forName("UTF-16"); | ||
public static final Charset UTF_16BE = Charset.forName("UTF-16BE"); | ||
public static final Charset UTF_16LE = Charset.forName("UTF-16LE"); | ||
public static final Charset UTF_8 = Charset.forName("UTF-8"); | ||
|
||
public Charsets() { | ||
} | ||
|
||
public static Charset toCharset(Charset charset) { | ||
return charset == null ? Charset.defaultCharset() : charset; | ||
} | ||
|
||
public static Charset toCharset(String charset) { | ||
return charset == null ? Charset.defaultCharset() : Charset.forName(charset); | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
...rc/main/java/com/android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/Decoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
public interface Decoder { | ||
Object decode(Object var1) throws DecoderException; | ||
} |
25 changes: 25 additions & 0 deletions
25
...ava/com/android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/DecoderException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// Source code recreated from a .class file by IntelliJ IDEA | ||
// (powered by FernFlower decompiler) | ||
// | ||
|
||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
public class DecoderException extends Exception { | ||
private static final long serialVersionUID = 1L; | ||
|
||
public DecoderException() { | ||
} | ||
|
||
public DecoderException(String message) { | ||
super(message); | ||
} | ||
|
||
public DecoderException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
public DecoderException(Throwable cause) { | ||
super(cause); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...rc/main/java/com/android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/Encoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// | ||
// Source code recreated from a .class file by IntelliJ IDEA | ||
// (powered by FernFlower decompiler) | ||
// | ||
|
||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
public interface Encoder { | ||
Object encode(Object var1) throws EncoderException; | ||
} |
25 changes: 25 additions & 0 deletions
25
...ava/com/android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/EncoderException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// Source code recreated from a .class file by IntelliJ IDEA | ||
// (powered by FernFlower decompiler) | ||
// | ||
|
||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
public class EncoderException extends Exception { | ||
private static final long serialVersionUID = 1L; | ||
|
||
public EncoderException() { | ||
} | ||
|
||
public EncoderException(String message) { | ||
super(message); | ||
} | ||
|
||
public EncoderException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
public EncoderException(Throwable cause) { | ||
super(cause); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...n/java/com/android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/StringDecoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// | ||
// Source code recreated from a .class file by IntelliJ IDEA | ||
// (powered by FernFlower decompiler) | ||
// | ||
|
||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
public interface StringDecoder extends Decoder { | ||
String decode(String var1) throws DecoderException; | ||
} |
10 changes: 10 additions & 0 deletions
10
...n/java/com/android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/StringEncoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// | ||
// Source code recreated from a .class file by IntelliJ IDEA | ||
// (powered by FernFlower decompiler) | ||
// | ||
|
||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
public interface StringEncoder extends Encoder { | ||
String encode(String var1) throws EncoderException; | ||
} |
37 changes: 37 additions & 0 deletions
37
.../android/puy/puymvpjava/mqttv3/org/apache/commons/codec/base/StringEncoderComparator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// | ||
// Source code recreated from a .class file by IntelliJ IDEA | ||
// (powered by FernFlower decompiler) | ||
// | ||
|
||
package com.android.puy.puymvpjava.mqttv3.org.apache.commons.codec.base; | ||
|
||
import java.util.Comparator; | ||
|
||
public class StringEncoderComparator implements Comparator { | ||
private final StringEncoder stringEncoder; | ||
|
||
/** @deprecated */ | ||
@Deprecated | ||
public StringEncoderComparator() { | ||
this.stringEncoder = null; | ||
} | ||
|
||
public StringEncoderComparator(StringEncoder stringEncoder) { | ||
this.stringEncoder = stringEncoder; | ||
} | ||
|
||
public int compare(Object o1, Object o2) { | ||
boolean var3 = false; | ||
|
||
int compareCode; | ||
try { | ||
Comparable<Comparable<?>> s1 = (Comparable)this.stringEncoder.encode(o1); | ||
Comparable<?> s2 = (Comparable)this.stringEncoder.encode(o2); | ||
compareCode = s1.compareTo(s2); | ||
} catch (EncoderException var6) { | ||
compareCode = 0; | ||
} | ||
|
||
return compareCode; | ||
} | ||
} |
Oops, something went wrong.