SYMBOL INDEX (6451 symbols across 601 files) FILE: src/main/java/cn/ponfee/commons/base/Initializable.java type Initializable (line 16) | @FunctionalInterface method init (line 21) | void init(); method init (line 23) | static void init(Object caller) { FILE: src/main/java/cn/ponfee/commons/base/NoArgMethodInvoker.java class NoArgMethodInvoker (line 22) | public final class NoArgMethodInvoker { method NoArgMethodInvoker (line 29) | public NoArgMethodInvoker(@Nonnull String... methodNames) { method invoke (line 36) | public void invoke(Object caller) { FILE: src/main/java/cn/ponfee/commons/base/Predicates.java type Predicates (line 24) | public enum Predicates { method Predicates (line 36) | Predicates(int value, String desc) { method value (line 42) | public int value() { method code (line 46) | public char code() { method state (line 50) | public boolean state() { method desc (line 54) | public String desc() { method equals (line 59) | public boolean equals(Integer value) { method equals (line 63) | public boolean equals(int value) { method equals (line 70) | public boolean equals(String code) { method equals (line 82) | public boolean equals(Character code) { method equals (line 86) | public boolean equals(char code) { method equals (line 94) | public boolean equals(Boolean state) { method equals (line 98) | public boolean equals(boolean state) { method equals (line 102) | public boolean equals(Predicates other) { method yes (line 107) | public static boolean yes(Integer value) { method yes (line 111) | public static boolean yes(int value) { method yes (line 115) | public static boolean yes(String code) { method yes (line 119) | public static boolean yes(Character code) { method yes (line 123) | public static boolean yes(char code) { method yes (line 127) | public static boolean yes(Boolean state) { method yes (line 131) | public static boolean yes(boolean state) { method yes (line 135) | public static boolean yes(Predicates other) { method no (line 140) | public static boolean no(Integer value) { method no (line 144) | public static boolean no(int value) { method no (line 148) | public static boolean no(String code) { method no (line 152) | public static boolean no(Character code) { method no (line 156) | public static boolean no(char code) { method no (line 160) | public static boolean no(Boolean state) { method no (line 164) | public static boolean no(boolean state) { method no (line 168) | public static boolean no(Predicates other) { method of (line 173) | public static Predicates of(Integer value) { method of (line 177) | public static Predicates of(int value) { method of (line 181) | public static Predicates of(String code) { method of (line 185) | public static Predicates of(Character code) { method of (line 189) | public static Predicates of(char code) { method of (line 193) | public static Predicates of(Boolean state) { method of (line 197) | public static Predicates of(boolean state) { method not (line 201) | public static Predicate not(Predicate target) { FILE: src/main/java/cn/ponfee/commons/base/PrimitiveTypes.java type PrimitiveTypes (line 29) | public enum PrimitiveTypes { method PrimitiveTypes (line 51) | PrimitiveTypes(Class wrapper, byte value, byte castable) { method PrimitiveTypes (line 55) | PrimitiveTypes(Class wrapper, byte value, byte castable, int size) { method primitive (line 65) | public Class primitive() { method wrapper (line 69) | public Class wrapper() { method size (line 73) | public int size() { method isCastable (line 83) | public boolean isCastable(PrimitiveTypes target) { method ofPrimitive (line 87) | public static PrimitiveTypes ofPrimitive(Class primitive) { method ofWrapper (line 91) | public static PrimitiveTypes ofWrapper(Class wrapper) { method ofPrimitiveOrWrapper (line 95) | public static PrimitiveTypes ofPrimitiveOrWrapper(Class primitive) { method allPrimitiveTypes (line 99) | public static Set> allPrimitiveTypes() { method allWrapperTypes (line 103) | public static Set> allWrapperTypes() { method isWrapperType (line 107) | public static boolean isWrapperType(Class primitive) { method wrap (line 111) | public static Class wrap(Class type) { method unwrap (line 116) | public static Class unwrap(Class type) { class Hide (line 121) | private static class Hide { FILE: src/main/java/cn/ponfee/commons/base/Releasable.java type Releasable (line 18) | @FunctionalInterface method release (line 26) | void release(); method release (line 28) | static void release(Object caller) { method isReleased (line 56) | default boolean isReleased() { FILE: src/main/java/cn/ponfee/commons/base/Symbol.java class Symbol (line 16) | public final class Symbol { type Str (line 18) | public interface Str { type Char (line 105) | public interface Char { FILE: src/main/java/cn/ponfee/commons/base/TimestampProvider.java type TimestampProvider (line 16) | @FunctionalInterface method get (line 23) | long get(); FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple.java class Tuple (line 25) | public abstract class Tuple implements Comparable, Iterable T get(int index); method set (line 42) | public abstract void set(T value, int index); method copy (line 49) | public abstract T copy(); method length (line 56) | public abstract int length(); method toArray (line 64) | public final Object[] toArray() { method toString (line 78) | @Override method hashCode (line 88) | @Override method equals (line 108) | @Override method equals (line 133) | public final boolean equals(Object... elements) { method compareTo (line 146) | @Override method toList (line 173) | public List toList() { method iterator (line 185) | @Override method spliterator (line 191) | @Override method join (line 205) | public final String join(CharSequence delimiter, class TupleIterator (line 224) | private class TupleIterator implements Iterator { method hasNext (line 228) | @Override method next (line 233) | @Override method remove (line 241) | @Override FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple0.java class Tuple0 (line 18) | public final class Tuple0 extends Tuple { method Tuple0 (line 22) | public Tuple0() { method of (line 25) | public static Tuple0 of() { method get (line 29) | @Override method set (line 34) | @Override method length (line 39) | @Override method copy (line 44) | @Override method toList (line 49) | @Override method iterator (line 54) | @Override method spliterator (line 59) | @Override method readResolve (line 64) | private Object readResolve() { FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple1.java class Tuple1 (line 16) | public final class Tuple1 extends Tuple { method Tuple1 (line 21) | public Tuple1(A a) { method of (line 25) | public static Tuple1 of(A a) { method get (line 29) | @Override method set (line 38) | @Override method length (line 47) | @Override method copy (line 52) | @Override FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple2.java class Tuple2 (line 16) | public final class Tuple2 extends Tuple { method Tuple2 (line 22) | public Tuple2(A a, B b) { method of (line 27) | public static Tuple2 of(A a, B b) { method get (line 31) | @Override method set (line 40) | @Override method length (line 49) | @Override method copy (line 54) | @Override method swap (line 64) | public Tuple2 swap() { FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple3.java class Tuple3 (line 16) | public final class Tuple3 extends Tuple { method Tuple3 (line 23) | public Tuple3(A a, B b, C c) { method of (line 29) | public static Tuple3 of(A a, B b, C c) { method get (line 33) | @Override method set (line 43) | @Override method length (line 53) | @Override method copy (line 58) | @Override FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple4.java class Tuple4 (line 16) | public final class Tuple4 extends Tuple { method Tuple4 (line 24) | public Tuple4(A a, B b, C c, D d) { method of (line 31) | public static Tuple4 of(A a, B b, C c, D d) { method get (line 35) | @Override method set (line 46) | @Override method length (line 57) | @Override method copy (line 62) | @Override FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple5.java class Tuple5 (line 16) | public final class Tuple5 extends Tuple { method Tuple5 (line 25) | public Tuple5(A a, B b, C c, D d, E e) { method of (line 33) | public static Tuple5 of(A a, B b, C c, ... method get (line 37) | @Override method set (line 49) | @Override method length (line 61) | @Override method copy (line 66) | @Override FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple6.java class Tuple6 (line 16) | public final class Tuple6 extends Tuple { method Tuple6 (line 26) | public Tuple6(A a, B b, C c, D d, E e, F f) { method of (line 35) | public static Tuple6 of(A a, B b,... method get (line 39) | @Override method set (line 52) | @Override method length (line 65) | @Override method copy (line 70) | @Override FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple7.java class Tuple7 (line 16) | public final class Tuple7 extends Tuple { method Tuple7 (line 27) | public Tuple7(A a, B b, C c, D d, E e, F f, G g) { method of (line 37) | public static Tuple7 of(A a... method get (line 41) | @Override method set (line 55) | @Override method length (line 69) | @Override method copy (line 74) | @Override FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple8.java class Tuple8 (line 16) | public final class Tuple8 extends Tuple { method Tuple8 (line 28) | public Tuple8(A a, B b, C c, D d, E e, F f, G g, H h) { method of (line 39) | public static Tuple8 ... method get (line 43) | @Override method set (line 58) | @Override method length (line 73) | @Override method copy (line 78) | @Override FILE: src/main/java/cn/ponfee/commons/base/tuple/Tuple9.java class Tuple9 (line 16) | public final class Tuple9 extends Tuple { method Tuple9 (line 29) | public Tuple9(A a, B b, C c, D d, E e, F f, G g, H h, I i) { method of (line 41) | public static Tuple9 toList(Object obj) { method newLinkedList (line 66) | public static LinkedList newLinkedList(E element) { method getFirst (line 79) | public static T getFirst(Collection values) { method getLast (line 99) | public static T getLast(Collection values) { method get (line 112) | public static T get(T[] array, int index) { method get (line 119) | public static T get(List list, int index) { method intersect (line 135) | public static List intersect(Collection coll1, Collection... method intersect (line 146) | @SuppressWarnings({ "unchecked" }) method union (line 163) | public static List union(Collection coll1, Collection col... method different (line 184) | public static List different(List list1, List list2) { method different (line 198) | public static Set different(Set set1, Set set2) { method different (line 212) | public static Map different(Map map1, Map map... method duplicate (line 226) | public static List duplicate(Collection list) { method duplicate (line 236) | public static List duplicate(Collection list, Function void set(List list, int index, T obj) { method expand (line 300) | public static void expand(List list, int size, Supplier supp... method partition (line 322) | public static List partition(int[] array, int size) { method cartesian (line 353) | public static List> cartesian(List x, List y, ... method rotate (line 373) | public static List rotate(List list) { method sortAndGetIndexSwapMapping (line 390) | public static int[] sortAndGetIndexSwapMapping(int[] array) { method requireNonEmpty (line 415) | public static T[] requireNonEmpty(T[] array) { method requireNonEmpty (line 430) | public static List requireNonEmpty(List list) { method convert (line 437) | public static List convert(Collection collection, Functio... method convert (line 441) | public static List convert(Collection collection, Predica... method concat (line 459) | @SafeVarargs method newArray (line 473) | public static T[] newArray(Class arrayType, int len... method stream (line 479) | public static Stream stream(Collection collection) { FILE: src/main/java/cn/ponfee/commons/collect/Comparators.java class Comparators (line 18) | public final class Comparators { method asc (line 24) | public static > Comparator asc() { method desc (line 28) | public static > Comparator desc() { method order (line 32) | public static > Comparator order(bo... FILE: src/main/java/cn/ponfee/commons/collect/DelegatedIntSpliterator.java class DelegatedIntSpliterator (line 24) | public class DelegatedIntSpliterator implements Spliterator { method DelegatedIntSpliterator (line 34) | public DelegatedIntSpliterator(int startInclusive, int endExclusive, I... method DelegatedIntSpliterator (line 39) | public DelegatedIntSpliterator(Spliterator.OfInt delegate, IntFunction... method tryAdvance (line 44) | @Override method forEachRemaining (line 49) | @Override method trySplit (line 54) | @Override method estimateSize (line 60) | @Override method characteristics (line 65) | @Override method getComparator (line 70) | @Override FILE: src/main/java/cn/ponfee/commons/collect/DoubleListViewer.java class DoubleListViewer (line 21) | public class DoubleListViewer implements List, RandomAccess { method DoubleListViewer (line 26) | public DoubleListViewer(Collection> list) { method size (line 32) | @Override method isEmpty (line 37) | @Override method contains (line 42) | @Override method containsAll (line 47) | @Override method toArray (line 57) | @Override method toArray (line 62) | @Override method get (line 70) | @Override method indexOf (line 92) | @Override method lastIndexOf (line 123) | @Override method iterator (line 154) | @Override method listIterator (line 159) | @Override method listIterator (line 164) | @Override method subList (line 169) | @Override method toString (line 174) | @Override method hashCode (line 193) | @Override method equals (line 202) | @Override method set (line 223) | @Override method add (line 228) | @Override method remove (line 233) | @Override method addAll (line 238) | @Override method addAll (line 243) | @Override method removeAll (line 248) | @Override method retainAll (line 253) | @Override method clear (line 258) | @Override method add (line 263) | @Override method remove (line 268) | @Override class UnmodifiableListIterator (line 275) | private class UnmodifiableListIterator extends UnmodifiableIterator im... method UnmodifiableListIterator (line 276) | UnmodifiableListIterator(int position, int end) { method hasPrevious (line 280) | @Override method previous (line 285) | @Override method nextIndex (line 293) | @Override method previousIndex (line 298) | @Override method set (line 303) | @Override method add (line 308) | @Override class UnmodifiableIterator (line 314) | private class UnmodifiableIterator implements Iterator { method UnmodifiableIterator (line 318) | UnmodifiableIterator(int position, int end) { method hasNext (line 323) | @Override method next (line 328) | @Override method remove (line 336) | @Override FILE: src/main/java/cn/ponfee/commons/collect/FilterableIterator.java class FilterableIterator (line 26) | public class FilterableIterator implements Iterable, Iterator { method FilterableIterator (line 32) | private FilterableIterator(Iterator iterator) { method FilterableIterator (line 36) | private FilterableIterator(Predicate predicate, Iterator iterato... method of (line 41) | public static FilterableIterator of(Iterator iterator) { method of (line 45) | public static FilterableIterator of(Predicate predicate, Ite... method of (line 49) | public static FilterableIterator of(Iterable iterable) { method of (line 53) | public static FilterableIterator of(Predicate predicate, Ite... method of (line 57) | @SafeVarargs method of (line 62) | @SafeVarargs method iterator (line 67) | @Override method hasNext (line 72) | @Override method next (line 82) | @Override class ArrayIterator (line 87) | private static class ArrayIterator implements Iterator { method ArrayIterator (line 91) | @SafeVarargs method hasNext (line 96) | @Override method next (line 101) | @Override FILE: src/main/java/cn/ponfee/commons/collect/ImmutableArrayList.java class ImmutableArrayList (line 26) | public class ImmutableArrayList extends ToJsonString method ImmutableArrayList (line 35) | public ImmutableArrayList() { method ImmutableArrayList (line 39) | public ImmutableArrayList(Object[] elements) { method of (line 50) | public static ImmutableArrayList of() { method of (line 54) | @SafeVarargs method of (line 59) | public static ImmutableArrayList of(T[] array, T last) { method of (line 63) | public static ImmutableArrayList of(List list) { method of (line 67) | public static ImmutableArrayList of(List list, T last) { method offset (line 72) | protected int offset() { method size (line 76) | @Override method isEmpty (line 81) | @Override method toArray (line 86) | @Override method toArray (line 94) | @Override method get (line 112) | @Override method indexOf (line 120) | @Override method lastIndexOf (line 138) | @Override method contains (line 156) | @Override method containsAll (line 161) | @Override method iterator (line 171) | @Override method listIterator (line 176) | @Override method listIterator (line 181) | @Override method subList (line 186) | @Override method spliterator (line 199) | @Override method hashCode (line 204) | @Override method equals (line 213) | @Override method clone (line 232) | @Override method join (line 237) | public final E[] join(E last) { method concat (line 252) | public final ImmutableArrayList concat(E last) { method add (line 257) | @Override method remove (line 262) | @Override method addAll (line 267) | @Override method addAll (line 272) | @Override method removeAll (line 277) | @Override method removeIf (line 282) | @Override method retainAll (line 287) | @Override method replaceAll (line 292) | @Override method sort (line 297) | @Override method clear (line 302) | @Override method set (line 307) | @Override method add (line 312) | @Override method remove (line 317) | @Override class UnmodifiableIterator (line 322) | private class UnmodifiableIterator implements Iterator { method UnmodifiableIterator (line 326) | UnmodifiableIterator(int position, int end) { method hasNext (line 331) | @Override method next (line 336) | @Override method remove (line 344) | @Override class UnmodifiableListIterator (line 350) | private class UnmodifiableListIterator extends UnmodifiableIterator im... method UnmodifiableListIterator (line 352) | UnmodifiableListIterator(int position, int end) { method hasPrevious (line 356) | @Override method previous (line 361) | @Override method nextIndex (line 369) | @Override method previousIndex (line 374) | @Override method set (line 379) | @Override method add (line 384) | @Override class SubList (line 390) | private class SubList extends ImmutableArrayList { method SubList (line 396) | SubList(int from, int to) { method offset (line 402) | @Override method size (line 407) | @Override FILE: src/main/java/cn/ponfee/commons/collect/ImmutableHashList.java class ImmutableHashList (line 27) | public class ImmutableHashList, V> { method ImmutableHashList (line 34) | private ImmutableHashList() { method ImmutableHashList (line 40) | private ImmutableHashList(List values, Function mapper) { method values (line 49) | public final List values() { method contains (line 53) | public final boolean contains(V value) { method isEmpty (line 57) | public final boolean isEmpty() { method of (line 61) | public static , V> ImmutableHashList of(... method empty (line 65) | public static , V> ImmutableHashList emp... FILE: src/main/java/cn/ponfee/commons/collect/LRUCache.java class LRUCache (line 23) | public class LRUCache extends LinkedHashMap { method LRUCache (line 31) | public LRUCache() { method LRUCache (line 35) | public LRUCache(int maxCapacity) { method removeEldestEntry (line 40) | @Override method containsKey (line 45) | @Override method get (line 55) | @Override method put (line 65) | @Override method remove (line 75) | @Override method size (line 85) | @Override method clear (line 95) | @Override method getMaxSize (line 105) | public int getMaxSize() { method setMaxSize (line 109) | public void setMaxSize(int maxSize) { FILE: src/main/java/cn/ponfee/commons/collect/Maps.java class Maps (line 25) | public final class Maps { method hasKey (line 34) | public static boolean hasKey(Map map, String key) { method toArray (line 47) | public static Object[] toArray(Map map, String... fiel... method toArray (line 57) | public static List toArray(List> data, S... method toArray (line 72) | public static Object[] toArray(LinkedHashMap data) { method toArray (line 84) | public static List toArray(List> toArray(Result> toArray(Result toMap(Object... kv) { FILE: src/main/java/cn/ponfee/commons/collect/StreamForker.java class StreamForker (line 31) | public class StreamForker { method StreamForker (line 36) | public StreamForker(Stream stream) { method fork (line 40) | public StreamForker fork(Object key, Function, ?> f) { method getResults (line 45) | public Results getResults() { method build (line 55) | private ForkingStreamConsumer build() { method getOperationResult (line 73) | private Future getOperationResult(List> queues, Fu... type Results (line 80) | public interface Results { method get (line 81) | R get(Object key); class ForkingStreamConsumer (line 84) | @SuppressWarnings("unchecked") method ForkingStreamConsumer (line 91) | ForkingStreamConsumer(List> queues, Map implements Spliterato... method BlockingQueueSpliterator (line 118) | BlockingQueueSpliterator(BlockingQueue q) { method tryAdvance (line 122) | @Override method trySplit (line 143) | @Override method estimateSize (line 148) | @Override method characteristics (line 153) | @Override FILE: src/main/java/cn/ponfee/commons/collect/ValueSortedMap.java class ValueSortedMap (line 32) | public class ValueSortedMap extends TreeMap { method ValueSortedMap (line 36) | private ValueSortedMap(Map map, method nullsFirst (line 42) | public static > ValueSortedMap ValueSortedMap nullsFirst( method nullsLast (line 52) | public static > ValueSortedMap ValueSortedMap nullsLast( class MapValueComparator (line 63) | private static class MapValueComparator implements Comparator { method MapValueComparator (line 67) | private MapValueComparator(Map data, method compare (line 73) | @Override method put (line 81) | @Deprecated @Override method putIfAbsent (line 86) | @Deprecated @Override method replace (line 91) | @Deprecated @Override method replace (line 96) | @Deprecated @Override method computeIfAbsent (line 101) | @Deprecated @Override method computeIfPresent (line 106) | @Deprecated @Override method compute (line 112) | @Deprecated @Override method merge (line 117) | @Deprecated @Override method putAll (line 123) | @Deprecated @Override method replaceAll (line 128) | @Deprecated @Override method remove (line 133) | @Deprecated @Override method remove (line 138) | @Deprecated @Override method clear (line 143) | @Deprecated @Override FILE: src/main/java/cn/ponfee/commons/concurrent/AsyncBatchProcessor.java class AsyncBatchProcessor (line 36) | public final class AsyncBatchProcessor { method AsyncBatchProcessor (line 42) | public AsyncBatchProcessor(BatchProcessor processor) { method AsyncBatchProcessor (line 52) | public AsyncBatchProcessor(BatchProcessor processor, method put (line 66) | public boolean put(T element) { method put (line 75) | public boolean put(T[] elements) { method put (line 93) | public boolean put(List elements) { method stop (line 111) | public boolean stop() { method stopAndAwait (line 115) | public void stopAndAwait() throws InterruptedException { class AsyncBatchThread (line 125) | private static class AsyncBatchThread extends Thread { method AsyncBatchThread (line 147) | private AsyncBatchThread(BatchProcessor processor, method run (line 174) | @Override method isEnd (line 254) | private boolean isEnd() { type BatchProcessor (line 259) | @FunctionalInterface method process (line 261) | void process(List t, boolean stopped); FILE: src/main/java/cn/ponfee/commons/concurrent/AsyncDelayedExecutor.java class AsyncDelayedExecutor (line 27) | public final class AsyncDelayedExecutor extends Thread { method AsyncDelayedExecutor (line 37) | public AsyncDelayedExecutor(Consumer processor) { method AsyncDelayedExecutor (line 45) | public AsyncDelayedExecutor(int maximumPoolSize, method put (line 72) | public boolean put(DelayedData delayedData) { method doStop (line 79) | public void doStop() { method run (line 85) | @Override FILE: src/main/java/cn/ponfee/commons/concurrent/DelayedData.java class DelayedData (line 22) | public class DelayedData implements Delayed { method DelayedData (line 27) | private DelayedData(E data, long delayInMilliseconds) { method of (line 32) | public static DelayedData of(E data, long delayInMilliseconds) { method getDelay (line 36) | @Override method compareTo (line 42) | @Override method getData (line 47) | public E getData() { FILE: src/main/java/cn/ponfee/commons/concurrent/MultithreadExecutors.java class MultithreadExecutors (line 27) | public class MultithreadExecutors { method run (line 30) | public static void run(Collection coll, Consumer action, Exe... method run (line 41) | public static void run(Collection coll, Consumer action, Exe... method call (line 55) | public static List call(Collection coll, Function m... method call (line 67) | public static List call(Collection coll, Function m... FILE: src/main/java/cn/ponfee/commons/concurrent/NamedThreadFactory.java class NamedThreadFactory (line 21) | public class NamedThreadFactory implements ThreadFactory { method NamedThreadFactory (line 32) | public NamedThreadFactory(String prefix, method newThread (line 47) | @Override method getThreadGroup (line 60) | public ThreadGroup getThreadGroup() { method builder (line 64) | public static Builder builder() { class Builder (line 68) | public static class Builder { method Builder (line 74) | private Builder() { } method prefix (line 76) | public Builder prefix(String prefix) { method daemon (line 81) | public Builder daemon(boolean daemon) { method priority (line 86) | public Builder priority(Integer priority) { method uncaughtExceptionHandler (line 91) | public Builder uncaughtExceptionHandler(Thread.UncaughtExceptionHand... method build (line 96) | public NamedThreadFactory build() { FILE: src/main/java/cn/ponfee/commons/concurrent/SingleThreadShutdownHook.java class SingleThreadShutdownHook (line 21) | public class SingleThreadShutdownHook { method addHook (line 27) | public static void addHook(Runnable hook) { class HookThread (line 37) | private static class HookThread extends Thread { method run (line 40) | @Override FILE: src/main/java/cn/ponfee/commons/concurrent/ThreadPoolExecutors.java class ThreadPoolExecutors (line 27) | public final class ThreadPoolExecutors { method builder (line 73) | public static Builder builder() { type PrestartCoreThreadType (line 77) | public enum PrestartCoreThreadType { NONE, ONE, ALL } class Builder (line 79) | public static class Builder { method Builder (line 89) | private Builder() { method corePoolSize (line 92) | public Builder corePoolSize(int corePoolSize) { method maximumPoolSize (line 97) | public Builder maximumPoolSize(int maximumPoolSize) { method workQueue (line 102) | public Builder workQueue(BlockingQueue workQueue) { method keepAliveTimeSeconds (line 107) | public Builder keepAliveTimeSeconds(long keepAliveTimeSeconds) { method rejectedHandler (line 112) | public Builder rejectedHandler(RejectedExecutionHandler rejectedHand... method threadFactory (line 117) | public Builder threadFactory(ThreadFactory threadFactory) { method allowCoreThreadTimeOut (line 122) | public Builder allowCoreThreadTimeOut(boolean allowCoreThreadTimeOut) { method prestartCoreThreadType (line 127) | public Builder prestartCoreThreadType(PrestartCoreThreadType prestar... method build (line 132) | public ThreadPoolExecutor build() { method shutdown (line 168) | public static boolean shutdown(ExecutorService executorService) { method shutdown (line 190) | public static boolean shutdown(ExecutorService executorService, int aw... FILE: src/main/java/cn/ponfee/commons/concurrent/ThreadPoolMonitor.java class ThreadPoolMonitor (line 22) | @Getter method ThreadPoolMonitor (line 41) | public ThreadPoolMonitor(ThreadPoolExecutor pool) { FILE: src/main/java/cn/ponfee/commons/concurrent/Threads.java class Threads (line 20) | public final class Threads { method isStopped (line 29) | public static boolean isStopped(Thread thread) { method stopThread (line 42) | public static boolean stopThread(Thread thread, int sleepCount, long s... method interruptIfNecessary (line 82) | public static void interruptIfNecessary(Throwable t) { method stopThread (line 94) | private static boolean stopThread(Thread thread) { FILE: src/main/java/cn/ponfee/commons/concurrent/TracedRunnable.java class TracedRunnable (line 20) | public final class TracedRunnable implements Runnable { method TracedRunnable (line 24) | private TracedRunnable(Runnable runnable) { method of (line 28) | public static TracedRunnable of(Runnable runnable) { method run (line 32) | @Override FILE: src/main/java/cn/ponfee/commons/constrain/Constraint.java type Tense (line 123) | enum Tense { method Tense (line 128) | Tense(String desc) { method desc (line 132) | public String desc() { FILE: src/main/java/cn/ponfee/commons/constrain/FailFastValidatorFactoryBean.java class FailFastValidatorFactoryBean (line 22) | public class FailFastValidatorFactoryBean implements FactoryBean returnType, String errMsg) { method constrain (line 126) | protected final String constrain(GenericDeclaration classOrMethod, Str... method constrain (line 165) | protected final String constrain(String name, Object value, method verifyMeta (line 180) | private void verifyMeta(String name, Constraint c, Class type) { method isEmptiable (line 235) | private boolean isEmptiable(Class type) { method verifyValue (line 243) | private String verifyValue(String str, Object value, Constraint cst) { method verify (line 259) | private String verify(String n, Object v, Constraint c) { FILE: src/main/java/cn/ponfee/commons/constrain/Jsr303Validator.java class Jsr303Validator (line 32) | public abstract class Jsr303Validator { method verify (line 35) | public Object verify(ProceedingJoinPoint pjp, BindingResult bindingRes... method handleFailure (line 44) | protected Object handleFailure(Class returnType, BindingResult bind... FILE: src/main/java/cn/ponfee/commons/constrain/MethodValidator.java class MethodValidator (line 57) | public abstract class MethodValidator extends FieldValidator { method constrain (line 67) | @SuppressWarnings("unchecked") method argsNullable (line 154) | private boolean[] argsNullable(Object[] args, Constraint[] csts) { FILE: src/main/java/cn/ponfee/commons/constrain/ParamValidator.java class ParamValidator (line 38) | public abstract class ParamValidator extends FieldValidator { method constrain (line 47) | public Object constrain(ProceedingJoinPoint joinPoint) throws Throwable { FILE: src/main/java/cn/ponfee/commons/dag/DAGEdge.java class DAGEdge (line 22) | public final class DAGEdge extends ToJsonString implements Serializable { method DAGEdge (line 28) | private DAGEdge(DAGNode source, DAGNode target) { method of (line 33) | public static DAGEdge of(DAGNode source, DAGNode target) { method of (line 37) | public static DAGEdge of(String source, String target) { method of (line 43) | public static DAGEdge of(EndpointPair pair) { method getSource (line 48) | public DAGNode getSource() { method getTarget (line 52) | public DAGNode getTarget() { method hashCode (line 56) | @Override method equals (line 61) | @Override FILE: src/main/java/cn/ponfee/commons/dag/DAGExpressionParser.java class DAGExpressionParser (line 91) | public class DAGExpressionParser { method DAGExpressionParser (line 132) | public DAGExpressionParser(String text) { method parse (line 137) | public Graph parse() { method parseJsonGraph (line 161) | private void parseJsonGraph(ImmutableGraph.Builder graphBuild... method parsePlainExpr (line 188) | private void parsePlainExpr(ImmutableGraph.Builder graphBuild... method buildGraph (line 201) | private void buildGraph(int section, List expressions, method resolve (line 228) | private List resolve(String text) { method partition (line 266) | private List partition(String expr, List groups) { method increment (line 279) | private int increment(String name) { method divideFirstStage (line 291) | private static Tuple2, List> divideFirstStage(Lis... method buildTree (line 322) | static TreeNode buildTree(List> groups, method concat (line 359) | private static List concat(List left, List rig... method checkParenthesis (line 377) | static boolean checkParenthesis(String text) { method completeParenthesis (line 400) | static String completeParenthesis(String text) { method group (line 444) | static List> group(String expr) { method wrap (line 467) | private static String wrap(String text) { class GraphEdge (line 471) | @Getter method toDAGEdge (line 480) | private DAGEdge toDAGEdge() { method fromJson (line 484) | private static List fromJson(String text) { class TreeNodeId (line 493) | static final class TreeNodeId implements Serializable, Comparable listDataSourceNames() { method add (line 54) | synchronized static void add(@Nonnull String key) { method addAll (line 61) | synchronized static void addAll(List keys) { method remove (line 67) | synchronized static void remove(String key) { method process (line 71) | static Map process(String defaultName, DataSource ... FILE: src/main/java/cn/ponfee/commons/data/lookup/MultipleFixedDataSource.java class MultipleFixedDataSource (line 34) | public class MultipleFixedDataSource extends AbstractRoutingDataSource method MultipleFixedDataSource (line 39) | public MultipleFixedDataSource(NamedDataSource dataSource) { method MultipleFixedDataSource (line 43) | public MultipleFixedDataSource(NamedDataSource... dataSources) { method MultipleFixedDataSource (line 51) | @SuppressWarnings({ "unchecked", "rawtypes" }) method determineCurrentLookupKey (line 67) | @Override method lookupDataSource (line 72) | @Override method init (line 77) | @Override method close (line 82) | @Override FILE: src/main/java/cn/ponfee/commons/data/lookup/MultipleScalableDataSource.java class MultipleScalableDataSource (line 34) | public class MultipleScalableDataSource extends AbstractDataSource method MultipleScalableDataSource (line 40) | public MultipleScalableDataSource(NamedDataSource dataSource) { method MultipleScalableDataSource (line 44) | public MultipleScalableDataSource(NamedDataSource... dataSources) { method MultipleScalableDataSource (line 52) | public MultipleScalableDataSource(String defaultName, DataSource defau... method add (line 65) | public synchronized void add(NamedDataSource ds) { method add (line 69) | public synchronized void add(@Nonnull String dataSourceName, @Nonnull ... method remove (line 77) | public synchronized void remove(String dataSourceName) { method remove (line 82) | public synchronized void remove(@Nonnull DataSource dataSource) { method getConnection (line 94) | @Override method getConnection (line 99) | @Override method unwrap (line 104) | @Override method isWrapperFor (line 113) | @Override method lookupDataSource (line 118) | @Override method init (line 123) | @Override method close (line 128) | @Override method determineTargetDataSource (line 142) | private DataSource determineTargetDataSource() { FILE: src/main/java/cn/ponfee/commons/date/CustomLocalDateTimeDeserializer.java class CustomLocalDateTimeDeserializer (line 24) | public class CustomLocalDateTimeDeserializer extends JSR310DateTimeDeser... method CustomLocalDateTimeDeserializer (line 31) | protected CustomLocalDateTimeDeserializer() { method CustomLocalDateTimeDeserializer (line 35) | public CustomLocalDateTimeDeserializer(String pattern) { method CustomLocalDateTimeDeserializer (line 39) | public CustomLocalDateTimeDeserializer(DateTimeFormatter formatter) { method withShape (line 44) | @Override method withDateFormat (line 49) | @Override method withLeniency (line 54) | @Override method deserialize (line 59) | @Override method _fromString (line 125) | protected LocalDateTime _fromString(JsonParser p, DeserializationConte... FILE: src/main/java/cn/ponfee/commons/date/DatePeriods.java type DatePeriods (line 32) | public enum DatePeriods { method DatePeriods (line 99) | DatePeriods(ChronoUnit unit, int multiple) { method next (line 113) | public final Segment next(LocalDateTime original, LocalDateTime target... method next (line 123) | public final Segment next(LocalDateTime target, int step, int next) { method next (line 127) | public final Segment next(LocalDateTime target, int next) { method next (line 131) | public final Segment next(Date original, Date target, int step, int ne... method next (line 135) | public final Segment next(Date target, int step, int next) { method next (line 140) | public final Segment next(Date target, int next) { class Segment (line 145) | public static final class Segment { method Segment (line 149) | private Segment(LocalDateTime begin, LocalDateTime end) { method begin (line 154) | public Date begin() { method end (line 158) | public Date end() { method toString (line 162) | @Override FILE: src/main/java/cn/ponfee/commons/date/Dates.java class Dates (line 52) | public class Dates { method isValidDate (line 80) | public static boolean isValidDate(String dateStr) { method isValidDate (line 100) | public static boolean isValidDate(String dateStr, String pattern) { method isZeroDate (line 119) | public static boolean isZeroDate(Date date) { method now (line 128) | public static Date now() { method now (line 138) | public static String now(String pattern) { method toDate (line 148) | public static Date toDate(String dateStr) { method toDate (line 163) | public static Date toDate(String dateStr, String pattern) { method ofTimeMillis (line 177) | public static Date ofTimeMillis(long timeMillis) { method ofTimeMillis (line 181) | public static Date ofTimeMillis(Long timeMillis) { method currentUnixTimestamp (line 185) | public static long currentUnixTimestamp() { method ofUnixTimestamp (line 195) | public static Date ofUnixTimestamp(long unixTimestamp) { method ofUnixTimestamp (line 199) | public static Date ofUnixTimestamp(Long unixTimestamp) { method format (line 210) | public static String format(Date date, String pattern) { method format (line 223) | public static String format(Date date) { method format (line 234) | public static String format(long timeMillis, String pattern) { method plusMillis (line 247) | public static Date plusMillis(Date date, long millis) { method plusSeconds (line 258) | public static Date plusSeconds(Date date, long seconds) { method plusMinutes (line 269) | public static Date plusMinutes(Date date, long minutes) { method plusHours (line 280) | public static Date plusHours(Date date, long hours) { method plusDays (line 291) | public static Date plusDays(Date date, long days) { method plusWeeks (line 302) | public static Date plusWeeks(Date date, long weeks) { method plusMonths (line 313) | public static Date plusMonths(Date date, long months) { method plusYears (line 324) | public static Date plusYears(Date date, long years) { method minusMillis (line 337) | public static Date minusMillis(Date date, long millis) { method minusSeconds (line 348) | public static Date minusSeconds(Date date, long seconds) { method minusMinutes (line 359) | public static Date minusMinutes(Date date, long minutes) { method minusHours (line 370) | public static Date minusHours(Date date, long hours) { method minusDays (line 381) | public static Date minusDays(Date date, long days) { method minusWeeks (line 392) | public static Date minusWeeks(Date date, long weeks) { method minusMonths (line 403) | public static Date minusMonths(Date date, long months) { method minusYears (line 414) | public static Date minusYears(Date date, long years) { method startOfDay (line 426) | public static Date startOfDay(Date date) { method endOfDay (line 436) | public static Date endOfDay(Date date) { method startOfWeek (line 446) | public static Date startOfWeek(Date date) { method endOfWeek (line 456) | public static Date endOfWeek(Date date) { method startOfMonth (line 466) | public static Date startOfMonth(Date date) { method endOfMonth (line 476) | public static Date endOfMonth(Date date) { method startOfYear (line 486) | public static Date startOfYear(Date date) { method endOfYear (line 496) | public static Date endOfYear(Date date) { method withDayOfWeek (line 509) | public static Date withDayOfWeek(Date date, int dayOfWeek) { method withDayOfMonth (line 522) | public static Date withDayOfMonth(Date date, int dayOfMonth) { method withDayOfYear (line 533) | public static Date withDayOfYear(Date date, int dayOfYear) { method dayOfYear (line 539) | public static int dayOfYear(Date date) { method dayOfMonth (line 543) | public static int dayOfMonth(Date date) { method dayOfWeek (line 547) | public static int dayOfWeek(Date date) { method hourOfDay (line 551) | public static int hourOfDay(Date date) { method clockDiff (line 564) | public static long clockDiff(Date start, Date end) { method daysBetween (line 576) | public static int daysBetween(Date start, Date end) { method random (line 587) | public static Date random(Date begin, Date end) { method random (line 595) | public static Date random(long beginTimeMills, long endTimeMills) { method min (line 610) | public static Date min(Date a, Date b) { method max (line 621) | public static Date max(Date a, Date b) { method toLocalDateTime (line 627) | public static LocalDateTime toLocalDateTime(Date date) { method toDate (line 632) | public static Date toDate(LocalDateTime localDateTime) { method toLocalDate (line 636) | public static LocalDate toLocalDate(Date date) { method toDate (line 640) | public static Date toDate(LocalDate localDate) { method startOfDay (line 644) | public static LocalDateTime startOfDay(LocalDateTime dateTime) { method endOfDay (line 649) | public static LocalDateTime endOfDay(LocalDateTime dateTime) { method zoneConvert (line 662) | public static Date zoneConvert(Date date, ZoneId sourceZone, ZoneId ta... method zoneConvert (line 679) | public static LocalDateTime zoneConvert(LocalDateTime localDateTime, Z... method toCronExpression (line 686) | public static String toCronExpression(Date date) { method toCronExpression (line 696) | public static String toCronExpression(LocalDateTime dateTime) { method startOfDay0 (line 710) | private static LocalDateTime startOfDay0(Date date) { method endOfDay0 (line 714) | private static LocalDateTime endOfDay0(Date date) { FILE: src/main/java/cn/ponfee/commons/date/JavaUtilDateFormat.java class JavaUtilDateFormat (line 30) | @ThreadSafe method JavaUtilDateFormat (line 91) | public JavaUtilDateFormat(String pattern) { method JavaUtilDateFormat (line 95) | public JavaUtilDateFormat(String pattern, Locale locale) { method JavaUtilDateFormat (line 99) | public JavaUtilDateFormat(FastDateFormat format) { method format (line 109) | @Override method parse (line 114) | @Override method parse (line 134) | @Override method parseToLocalDateTime (line 211) | public LocalDateTime parseToLocalDateTime(String source) throws ParseE... method parseToLocalDateTime (line 216) | public LocalDateTime parseToLocalDateTime(String source, ParsePosition... method parseObject (line 221) | @Override method parseObject (line 226) | @Override method hashCode (line 231) | @Override method equals (line 236) | @Override method formatToCharacterIterator (line 250) | @Override method clone (line 255) | @Override method setCalendar (line 262) | @Override @Deprecated method setNumberFormat (line 269) | @Override @Deprecated method setTimeZone (line 276) | @Override @Deprecated method setLenient (line 283) | @Override @Deprecated method isCrossbar (line 291) | static boolean isCrossbar(String str) { method isTSeparator (line 296) | static boolean isTSeparator(String str) { method isCST (line 300) | static boolean isCST(String str) { method padding (line 304) | static String padding(String source) { FILE: src/main/java/cn/ponfee/commons/date/LocalDateTimeFormat.java class LocalDateTimeFormat (line 31) | @ThreadSafe method LocalDateTimeFormat (line 56) | public LocalDateTimeFormat(String pattern) { method LocalDateTimeFormat (line 60) | public LocalDateTimeFormat(DateTimeFormatter dateTimeFormatter) { method parse (line 66) | public LocalDateTime parse(String source) { method format (line 128) | public String format(LocalDateTime dateTime) { FILE: src/main/java/cn/ponfee/commons/exception/BaseCheckedException.java class BaseCheckedException (line 18) | public abstract class BaseCheckedException extends Exception { method BaseCheckedException (line 26) | public BaseCheckedException(int code) { method BaseCheckedException (line 30) | public BaseCheckedException(CodeMsg codeMsg) { method BaseCheckedException (line 38) | public BaseCheckedException(int code, String message) { method BaseCheckedException (line 42) | public BaseCheckedException(CodeMsg codeMsg, Throwable cause) { method BaseCheckedException (line 51) | public BaseCheckedException(int code, String message, Throwable cause) { method BaseCheckedException (line 63) | public BaseCheckedException(int code, method getCode (line 77) | public int getCode() { FILE: src/main/java/cn/ponfee/commons/exception/BaseUncheckedException.java class BaseUncheckedException (line 18) | public abstract class BaseUncheckedException extends RuntimeException { method BaseUncheckedException (line 26) | public BaseUncheckedException(int code) { method BaseUncheckedException (line 30) | public BaseUncheckedException(CodeMsg codeMsg) { method BaseUncheckedException (line 38) | public BaseUncheckedException(int code, String message) { method BaseUncheckedException (line 42) | public BaseUncheckedException(CodeMsg codeMsg, Throwable cause) { method BaseUncheckedException (line 51) | public BaseUncheckedException(int code, String message, Throwable caus... method BaseUncheckedException (line 63) | public BaseUncheckedException(int code, method getCode (line 77) | public int getCode() { FILE: src/main/java/cn/ponfee/commons/exception/ServerException.java class ServerException (line 18) | public class ServerException extends BaseUncheckedException { method ServerException (line 23) | public ServerException() { method ServerException (line 27) | public ServerException(String message) { method ServerException (line 31) | public ServerException(Throwable cause) { method ServerException (line 35) | public ServerException(String message, Throwable cause) { method ServerException (line 39) | public ServerException(String message, FILE: src/main/java/cn/ponfee/commons/exception/Throwables.java class Throwables (line 29) | public final class Throwables { method getRootCauseStackTrace (line 41) | public static String getRootCauseStackTrace(Throwable throwable) { method getRootCauseMessage (line 52) | public static String getRootCauseMessage(Throwable throwable) { type ThrowingRunnable (line 70) | @FunctionalInterface method run (line 72) | void run() throws T; method toSupplier (line 74) | default ThrowingSupplier toSupplier(R result) { method toCallable (line 81) | default ThrowingCallable toCallable(R result) { method doChecked (line 88) | static void doChecked(ThrowingRunnable runnable) { method doCaught (line 96) | static void doCaught(ThrowingRunnable runnable) { method doCaught (line 100) | static void doCaught(ThrowingRunnable runnable, Supplier ... method toChecked (line 109) | static Runnable toChecked(ThrowingRunnable runnable) { method toCaught (line 119) | static Runnable toCaught(ThrowingRunnable runnable) { method toCaught (line 123) | static Runnable toCaught(ThrowingRunnable runnable, Supplier toRunnable() { method doChecked (line 149) | static R doChecked(ThrowingSupplier supplier) { method doCaught (line 157) | static R doCaught(ThrowingSupplier supplier) { method doCaught (line 161) | static R doCaught(ThrowingSupplier supplier, R defaultValu... method toChecked (line 171) | static Supplier toChecked(ThrowingSupplier supplier) { method toCaught (line 181) | static Supplier toCaught(ThrowingSupplier supplier) { method toCaught (line 185) | static Supplier toCaught(ThrowingSupplier supplier, R d... type ThrowingCallable (line 204) | @FunctionalInterface method call (line 206) | R call() throws T; method toRunnable (line 208) | default ThrowingRunnable toRunnable() { method doChecked (line 212) | static R doChecked(ThrowingCallable callable) { method doCaught (line 220) | static R doCaught(ThrowingCallable callable) { method doCaught (line 224) | static R doCaught(ThrowingCallable callable, R defaultValu... method toChecked (line 234) | static Callable toChecked(ThrowingCallable callable) { method toCaught (line 244) | static Callable toCaught(ThrowingCallable supplier) { method toCaught (line 248) | static Callable toCaught(ThrowingCallable supplier, R d... type ThrowingConsumer (line 267) | @FunctionalInterface method accept (line 269) | void accept(E e) throws T; method toFunction (line 271) | default ThrowingFunction toFunction(R result) { method doChecked (line 278) | static void doChecked(ThrowingConsumer consumer, E arg) { method doCaught (line 286) | static void doCaught(ThrowingConsumer consumer, E arg) { method doCaught (line 290) | static void doCaught(ThrowingConsumer consumer, E arg, Sup... method toChecked (line 299) | static Consumer toChecked(ThrowingConsumer consumer) { method toCaught (line 309) | static Consumer toCaught(ThrowingConsumer consumer) { method toCaught (line 313) | static Consumer toCaught(ThrowingConsumer consumer, Sup... type ThrowingFunction (line 332) | @FunctionalInterface method apply (line 334) | R apply(E e) throws T; method toConsumer (line 336) | default ThrowingConsumer toConsumer() { method doChecked (line 340) | static R doChecked(ThrowingFunction function, E arg) { method doCaught (line 348) | static R doCaught(ThrowingFunction function, E arg) { method doCaught (line 352) | static R doCaught(ThrowingFunction function, E arg, ... method toChecked (line 362) | static Function toChecked(ThrowingFunction fun... method toCaught (line 372) | static Function toCaught(ThrowingFunction func... method toCaught (line 376) | static Function toCaught(ThrowingFunction func... FILE: src/main/java/cn/ponfee/commons/exception/UnauthorizedException.java class UnauthorizedException (line 18) | public class UnauthorizedException extends BaseUncheckedException { method UnauthorizedException (line 23) | public UnauthorizedException() { method UnauthorizedException (line 27) | public UnauthorizedException(String message) { method UnauthorizedException (line 31) | public UnauthorizedException(Throwable cause) { method UnauthorizedException (line 35) | public UnauthorizedException(String message, Throwable cause) { method UnauthorizedException (line 39) | public UnauthorizedException(String message, FILE: src/main/java/cn/ponfee/commons/exception/UnimplementedException.java class UnimplementedException (line 18) | public class UnimplementedException extends BaseUncheckedException { method UnimplementedException (line 23) | public UnimplementedException() { method UnimplementedException (line 27) | public UnimplementedException(String message) { method UnimplementedException (line 31) | public UnimplementedException(Throwable cause) { method UnimplementedException (line 35) | public UnimplementedException(String message, Throwable cause) { method UnimplementedException (line 39) | public UnimplementedException(String message, FILE: src/main/java/cn/ponfee/commons/export/AbstractCsvExporter.java class AbstractCsvExporter (line 26) | public abstract class AbstractCsvExporter extends AbstractDataExporte... method AbstractCsvExporter (line 32) | public AbstractCsvExporter(Appendable csv) { method AbstractCsvExporter (line 36) | public AbstractCsvExporter(Appendable csv, char csvSeparator) { method build (line 41) | @Override method buildComplexThead (line 112) | private void buildComplexThead(List> thead) { method escapeCsv (line 136) | public static String escapeCsv(String text) { method escapeCsv (line 140) | public static String escapeCsv(String text, char separator) { method toString (line 155) | private static String toString(Object value) { FILE: src/main/java/cn/ponfee/commons/export/AbstractDataExporter.java class AbstractDataExporter (line 25) | public abstract class AbstractDataExporter implements DataExporter { method isEmpty (line 32) | @Override method close (line 37) | @Override method nonEmpty (line 42) | public final void nonEmpty() { method setName (line 46) | public final AbstractDataExporter setName(String name) { method getName (line 51) | public final String getName() { method rollingTbody (line 55) | protected final void rollingTbody(Table table, BiConsumer getLeafThead(List... method collection2array (line 107) | private static Object[] collection2array(Collection coll) { method iterable2array (line 116) | private static Object[] iterable2array(Iterable iterable) { method iterator2array (line 122) | private static Object[] iterator2array(Iterator iter) { method covariantArray (line 130) | private static Object[] covariantArray(Object array0) { method map2array (line 139) | private static Object[] map2array(Map map) { method dictionary2array (line 145) | private static Object[] dictionary2array(Dictionary dic) { method bean2array (line 154) | private static Object[] bean2array(Object bean, String[] fields) { FILE: src/main/java/cn/ponfee/commons/export/AbstractSplitExporter.java class AbstractSplitExporter (line 27) | public abstract class AbstractSplitExporter extends AbstractDataExporter... method AbstractSplitExporter (line 34) | public AbstractSplitExporter(int batchSize, String savingFilePathPrefix, method build (line 43) | @Override method splitExporter (line 70) | protected abstract AbstractAsyncSplitExporter splitExporter(Table subTable, String s... method run (line 91) | @Override method createExporter (line 102) | protected abstract AbstractDataExporter createExporter() throws I... method complete (line 104) | protected void complete(AbstractDataExporter exporter) {} FILE: src/main/java/cn/ponfee/commons/export/CellStyleOptions.java type CellStyleOptions (line 16) | public enum CellStyleOptions { FILE: src/main/java/cn/ponfee/commons/export/ConsoleExporter.java class ConsoleExporter (line 28) | public class ConsoleExporter extends AbstractDataExporter { method ConsoleExporter (line 38) | public ConsoleExporter(Appendable out) { method ConsoleExporter (line 42) | public ConsoleExporter(Appendable out, int maxColumnWidth, boolean row... method build (line 51) | @Override method export (line 120) | @Override method horizon (line 126) | private ConsoleExporter horizon() throws IOException { method append (line 133) | private ConsoleExporter append(char c) throws IOException { method append (line 138) | private ConsoleExporter append(char c, int count) throws IOException { method append (line 145) | private ConsoleExporter append(CharSequence text) throws IOException { method append (line 150) | private ConsoleExporter append(String text, int width) throws IOExcept... method center (line 161) | private ConsoleExporter center(String text, int width) throws IOExcept... method newLine (line 172) | private void newLine() throws IOException { method union (line 176) | private static List union(T first, Collection coll) { class Column (line 183) | private class Column extends Thead { method Column (line 188) | public Column(Thead th) { FILE: src/main/java/cn/ponfee/commons/export/CsvFileExporter.java class CsvFileExporter (line 25) | public class CsvFileExporter extends CsvWriteExporter { method CsvFileExporter (line 27) | public CsvFileExporter(String filePath, boolean withBom) throws IOExce... method CsvFileExporter (line 31) | public CsvFileExporter(File file, Charset charset, boolean withBom) th... method CsvFileExporter (line 35) | public CsvFileExporter(File file, Charset charset, boolean withBom, ch... method createWriter (line 39) | private static Writer createWriter(File file, Charset charset, boolean... FILE: src/main/java/cn/ponfee/commons/export/CsvStringExporter.java class CsvStringExporter (line 23) | public class CsvStringExporter extends AbstractCsvExporter { method CsvStringExporter (line 25) | public CsvStringExporter() { method CsvStringExporter (line 29) | public CsvStringExporter(int capacity) { method CsvStringExporter (line 33) | public CsvStringExporter(int capacity, char csvSeparator) { method export (line 37) | @Override method write (line 42) | public void write(String filePath, Charset charset, boolean withBom) { FILE: src/main/java/cn/ponfee/commons/export/CsvWriteExporter.java class CsvWriteExporter (line 18) | public class CsvWriteExporter extends AbstractCsvExporter { method CsvWriteExporter (line 20) | public CsvWriteExporter(Writer writer) { method CsvWriteExporter (line 24) | public CsvWriteExporter(Writer writer, char csvSeparator) { method export (line 28) | @Override method close (line 33) | @Override FILE: src/main/java/cn/ponfee/commons/export/DataExporter.java type DataExporter (line 21) | public interface DataExporter extends Closeable { method build (line 29) | void build(Table table); method export (line 34) | T export(); method isEmpty (line 39) | boolean isEmpty(); FILE: src/main/java/cn/ponfee/commons/export/ExcelExporter.java class ExcelExporter (line 55) | public class ExcelExporter extends AbstractDataExporter { method ExcelExporter (line 87) | public ExcelExporter() { method build (line 154) | @Override method insertImage (line 248) | public void insertImage(byte[] imageBytes) { method insertImage (line 257) | public void insertImage(byte[] imageBytes, int width, int height) { method write (line 291) | public void write(OutputStream out) { method write (line 304) | public void write(String filepath) { method write (line 308) | public void write(File file) { method export (line 319) | @Override method close (line 329) | @Override method getSheet (line 349) | protected SXSSFSheet getSheet(String name) { method removeSheet (line 361) | protected void removeSheet(String name) { method createFreezePane (line 366) | private void createFreezePane() { method buildComplexThead (line 387) | private void buildComplexThead(Table table, SXSSFSheet sheet, C... method getTmeta (line 455) | private Tmeta getTmeta(List thead, int index) { method createBlankRow (line 467) | private void createBlankRow(String text, SXSSFSheet sheet, XSSFCellSty... method createCell (line 479) | private void createCell(SXSSFRow row, int colIndex, XSSFCellStyle styl... method createCell (line 483) | private void createCell(SXSSFRow row, int colIndex, XSSFCellStyle styl... method createCell (line 498) | private void createCell(SXSSFRow row, int colIndex, XSSFCellStyle styl... method processOptions (line 549) | @SuppressWarnings("unchecked") method createStyles (line 585) | private List createStyles(List thead) { method setCellString (line 627) | private static void setCellString(SXSSFCell cell, Object value) { class CursorRowNumber (line 638) | @SuppressWarnings("unused") method CursorRowNumber (line 642) | CursorRowNumber() { method CursorRowNumber (line 646) | CursorRowNumber(int initValue) { method getAndIncrement (line 650) | int getAndIncrement() { method incrementAndGet (line 654) | int incrementAndGet() { method getAndDecrement (line 658) | int getAndDecrement() { method decrementAndGet (line 662) | int decrementAndGet() { method add (line 666) | void add(int i) { method addAndGet (line 670) | int addAndGet(int i) { method getAndAdd (line 675) | int getAndAdd(int i) { method set (line 681) | void set(int i) { method getAndSet (line 685) | int getAndSet(int i) { method get (line 691) | int get() { method increment (line 695) | void increment() { class Freeze (line 703) | @SuppressWarnings("unused") method Freeze (line 709) | Freeze(int colSplit, int rowSplit) { method enable (line 714) | void enable() { method disable (line 718) | void disable() { FILE: src/main/java/cn/ponfee/commons/export/HtmlExporter.java class HtmlExporter (line 27) | public class HtmlExporter extends AbstractDataExporter { method HtmlExporter (line 74) | public HtmlExporter() { method HtmlExporter (line 78) | public HtmlExporter(String initHtml) { method build (line 85) | @Override method export (line 183) | @Override method body (line 188) | public String body() { method horizon (line 192) | public HtmlExporter horizon() { method append (line 201) | public HtmlExporter append(String string) { method insertImage (line 210) | public HtmlExporter insertImage(String imageB64) { method buildComplexThead (line 226) | private void buildComplexThead(List> flats) { method getTmeta (line 250) | private Tmeta getTmeta(List thead, int index) { method processMeta (line 254) | private void processMeta(Object value, Tmeta tmeta) { method processMeta (line 268) | private void processMeta(Object value, Tmeta tmeta, int tbodyRowIdx, method formatData (line 318) | private static String formatData(Object data, Tmeta tmeta) { method processOptions (line 337) | @SuppressWarnings("unchecked") FILE: src/main/java/cn/ponfee/commons/export/SplitCsvFileExporter.java class SplitCsvFileExporter (line 19) | public class SplitCsvFileExporter extends AbstractSplitExporter { method SplitCsvFileExporter (line 23) | public SplitCsvFileExporter(int batchSize, String savingFilePathPrefix, method splitExporter (line 29) | @Override class AsnycCsvFileExporter (line 34) | private static class AsnycCsvFileExporter extends AbstractAsyncSplitEx... method AsnycCsvFileExporter (line 37) | AsnycCsvFileExporter(Table subTable, String savingFilePath, method createExporter (line 43) | @Override FILE: src/main/java/cn/ponfee/commons/export/SplitExcelExporter.java class SplitExcelExporter (line 18) | public class SplitExcelExporter extends AbstractSplitExporter { method SplitExcelExporter (line 20) | public SplitExcelExporter(int batchSize, String savingFilePathPrefix, ... method splitExporter (line 24) | @Override class AsnycExcelExporter (line 29) | private static class AsnycExcelExporter extends AbstractAsyncSplitExpo... method AsnycExcelExporter (line 32) | AsnycExcelExporter(Table subTable, String savingFilePath, method createExporter (line 38) | @Override method complete (line 45) | @Override FILE: src/main/java/cn/ponfee/commons/export/Table.java class Table (line 29) | public class Table implements Serializable { method Table (line 45) | public Table(List> thead, method Table (line 57) | public Table(List> list) { method Table (line 61) | public Table(List> list, method Table (line 67) | public Table(String[] names) { method Table (line 71) | public Table(String[] names, Function converter) { method copyOfWithoutTbody (line 80) | public Table copyOfWithoutTbody() { method copyOfWithoutTbody (line 84) | public Table copyOfWithoutTbody(Function converter) { method getThead (line 88) | public List> getThead() { method getConverter (line 92) | public Function getConverter() { method getCaption (line 96) | public String getCaption() { method setCaption (line 100) | public void setCaption(String caption) { method getTfoot (line 104) | public Object[] getTfoot() { method setTfoot (line 108) | public void setTfoot(Object[] tfoot) { method getComment (line 112) | public String getComment() { method setComment (line 116) | public void setComment(String comment) { method getOptions (line 120) | public Map getOptions() { method setOptions (line 124) | public void setOptions(Map options) { method addRowsAndEnd (line 129) | public void addRowsAndEnd(List rows) { method addRows (line 134) | public void addRows(List rows) { method addRowAndEnd (line 149) | public void addRowAndEnd(E row) { method addRow (line 154) | public void addRow(E row) { method toEnd (line 168) | public synchronized Table toEnd() { method isEnd (line 174) | boolean isEnd() { method isNotEnd (line 178) | boolean isNotEnd() { method isEmptyTbody (line 182) | boolean isEmptyTbody() { method getRow (line 186) | E getRow(long timeoutMillis) throws InterruptedException { FILE: src/main/java/cn/ponfee/commons/export/Thead.java class Thead (line 18) | public class Thead implements Serializable { method Thead (line 26) | public Thead(String name) { method Thead (line 30) | public Thead(String name, Tmeta tmeta, String field) { method getName (line 36) | public String getName() { method getTmeta (line 40) | public Tmeta getTmeta() { method getField (line 44) | public String getField() { FILE: src/main/java/cn/ponfee/commons/export/Tmeta.java class Tmeta (line 21) | public class Tmeta implements Serializable { method Tmeta (line 32) | public Tmeta() {} method Tmeta (line 34) | public Tmeta(Type type, String format, Align align, method getType (line 43) | public Type getType() { method setType (line 47) | public void setType(Type type) { method getAlign (line 51) | public Align getAlign() { method setAlign (line 55) | public void setAlign(Align align) { method isNowrap (line 59) | public boolean isNowrap() { method setNowrap (line 63) | public void setNowrap(boolean nowrap) { method setColor (line 67) | public void setColor(Color color) { method setColor (line 72) | public void setColor(String color) { method getColor (line 77) | public Color getColor() { method getColorHex (line 81) | public String getColorHex() { method getFormat (line 85) | public String getFormat() { method setFormat (line 89) | public void setFormat(String format) { type Type (line 93) | public enum Type { type Align (line 97) | public enum Align { FILE: src/main/java/cn/ponfee/commons/extract/CsvExtractor.java class CsvExtractor (line 30) | public class CsvExtractor extends DataExtractor { method CsvExtractor (line 37) | protected CsvExtractor(ExtractableDataSource dataSource, String[] head... method extract (line 50) | @Override FILE: src/main/java/cn/ponfee/commons/extract/DataExtractor.java class DataExtractor (line 28) | public abstract class DataExtractor { method DataExtractor (line 34) | protected DataExtractor(ExtractableDataSource dataSource, String[] hea... method extract (line 39) | public abstract void extract(BiConsumer processor) ... method extract (line 41) | public final List extract() throws IOException { method extract (line 54) | public final List extract(int count) throws IOException { method extract (line 66) | public final void extract(int batchSize, Consumer> acti... method verify (line 88) | public final ValidateResult verify(BiFunction ... method getStringCellValue (line 106) | private static String getStringCellValue(Cell cell) { method getNumericAsString (line 136) | private static String getNumericAsString(Cell cell) { type ExcelType (line 141) | public enum ExcelType { FILE: src/main/java/cn/ponfee/commons/extract/ExtractableDataSource.java class ExtractableDataSource (line 19) | public class ExtractableDataSource implements Closeable { method ExtractableDataSource (line 23) | public ExtractableDataSource(@Nonnull Object dataSource) { method close (line 32) | @Override method getDataSource (line 39) | public Object getDataSource() { method asInputStream (line 43) | public InputStream asInputStream() throws IOException { FILE: src/main/java/cn/ponfee/commons/extract/ValidateResult.java class ValidateResult (line 22) | public class ValidateResult { method hasErrors (line 27) | public boolean hasErrors() { method isEmpty (line 31) | public boolean isEmpty() { method getErrorsAsString (line 35) | public String getErrorsAsString() { method getData (line 39) | public List getData() { method getErrors (line 43) | public List getErrors() { method addData (line 47) | public void addData(String[] obj) { method addError (line 51) | public void addError(String error) { FILE: src/main/java/cn/ponfee/commons/extract/streaming/StreamingExcelExtractor.java class StreamingExcelExtractor (line 71) | public class StreamingExcelExtractor extends ExcelExtractor { method StreamingExcelExtractor (line 75) | public StreamingExcelExtractor(ExtractableDataSource dataSource, Strin... method StreamingExcelExtractor (line 80) | public StreamingExcelExtractor(ExtractableDataSource dataSource, Strin... method StreamingExcelExtractor (line 85) | public StreamingExcelExtractor(ExtractableDataSource dataSource, Strin... method createWorkbook (line 91) | @Override FILE: src/main/java/cn/ponfee/commons/extract/streaming/xls/HSSFStreamingCell.java class HSSFStreamingCell (line 25) | public class HSSFStreamingCell implements Cell { method HSSFStreamingCell (line 29) | public HSSFStreamingCell(String value) { method getStringCellValue (line 33) | @Override method getCellType (line 38) | @Override method getColumnIndex (line 44) | @Override @Deprecated method getRowIndex (line 49) | @Override @Deprecated method getSheet (line 54) | @Override @Deprecated method getRow (line 59) | @Override @Deprecated method setCellType (line 64) | @Override @Deprecated method getCachedFormulaResultType (line 69) | @Override @Deprecated method setCellValue (line 74) | @Override @Deprecated method setCellValue (line 79) | @Override @Deprecated method setCellValue (line 84) | @Override @Deprecated method setCellValue (line 89) | @Override @Deprecated method setCellValue (line 94) | @Override @Deprecated method setCellFormula (line 99) | @Override @Deprecated method getCellFormula (line 104) | @Override @Deprecated method getNumericCellValue (line 109) | @Override @Deprecated method getDateCellValue (line 114) | @Override @Deprecated method getRichStringCellValue (line 119) | @Override @Deprecated method setCellValue (line 124) | @Override @Deprecated method setCellErrorValue (line 129) | @Override @Deprecated method getBooleanCellValue (line 134) | @Override @Deprecated method getErrorCellValue (line 139) | @Override @Deprecated method setCellStyle (line 144) | @Override @Deprecated method getCellStyle (line 149) | @Override @Deprecated method setAsActiveCell (line 154) | @Override @Deprecated method getAddress (line 159) | @Override @Deprecated method setCellComment (line 164) | @Override @Deprecated method getCellComment (line 169) | @Override @Deprecated method removeCellComment (line 174) | @Override @Deprecated method getHyperlink (line 179) | @Override @Deprecated method setHyperlink (line 184) | @Override @Deprecated method removeHyperlink (line 189) | @Override @Deprecated method getArrayFormulaRange (line 194) | @Override @Deprecated method isPartOfArrayFormulaGroup (line 199) | @Override @Deprecated method removeFormula (line 204) | @Override @Deprecated method setBlank (line 209) | @Override @Deprecated method setCellValue (line 214) | @Override @Deprecated method getLocalDateTimeCellValue (line 219) | @Override @Deprecated FILE: src/main/java/cn/ponfee/commons/extract/streaming/xls/HSSFStreamingReader.java class HSSFStreamingReader (line 28) | public class HSSFStreamingReader { method HSSFStreamingReader (line 34) | private HSSFStreamingReader() {} method create (line 41) | public static HSSFStreamingReader create() { method create (line 52) | public static HSSFStreamingReader create(int rowCacheSize, int... shee... method create (line 67) | public static HSSFStreamingReader create(int rowCacheSize, String... s... method open (line 76) | public HSSFStreamingWorkbook open(InputStream input, Executor executor) { method open (line 82) | public HSSFStreamingWorkbook open(File file, Executor executor) { method open (line 90) | public HSSFStreamingWorkbook open(String filePath, Executor executor) { FILE: src/main/java/cn/ponfee/commons/extract/streaming/xls/HSSFStreamingRow.java class HSSFStreamingRow (line 26) | public class HSSFStreamingRow implements Row { method HSSFStreamingRow (line 32) | public HSSFStreamingRow(int rowNum, int rowOrder) { method iterator (line 37) | @Override method removeCell (line 42) | @Override method getRowNum (line 47) | @Override method getRowOrder (line 52) | public int getRowOrder() { method getCell (line 56) | @Override method getCell (line 61) | @Override method getLastCellNum (line 66) | @Override method getPhysicalNumberOfCells (line 71) | @Override method cellIterator (line 76) | @Override method putCell (line 81) | public void putCell(int index, Cell cell) { method isEmpty (line 85) | public boolean isEmpty() { method getSheet (line 90) | @Override method createCell (line 95) | @Override method createCell (line 100) | @Override method setRowNum (line 105) | @Override method getFirstCellNum (line 110) | @Override method setHeight (line 115) | @Override method setZeroHeight (line 120) | @Override method getZeroHeight (line 125) | @Override method setHeightInPoints (line 130) | @Override method getHeight (line 135) | @Override method getHeightInPoints (line 140) | @Override method isFormatted (line 145) | @Override method getRowStyle (line 150) | @Override method setRowStyle (line 155) | @Override method getOutlineLevel (line 160) | @Override method shiftCellsRight (line 165) | @Override method shiftCellsLeft (line 170) | @Override FILE: src/main/java/cn/ponfee/commons/extract/streaming/xls/HSSFStreamingSheet.java class HSSFStreamingSheet (line 34) | public class HSSFStreamingSheet implements Sheet { method HSSFStreamingSheet (line 43) | public HSSFStreamingSheet(int index, String name, method iterator (line 60) | @Override method rowIterator (line 65) | @Override method getSheetName (line 70) | @Override method getSheetIndex (line 75) | public int getSheetIndex() { method isDiscard (line 79) | public boolean isDiscard() { method getCacheRowCount (line 83) | public int getCacheRowCount() { method toEnd (line 87) | void toEnd() { method isEnd (line 91) | private boolean isEnd() { method putRow (line 95) | void putRow(Row row) throws InterruptedException { class RowsIterator (line 99) | private static class RowsIterator implements Iterator { method RowsIterator (line 103) | RowsIterator(HSSFStreamingSheet sheet) { method hasNext (line 107) | @Override method next (line 124) | @Override method getWorkbook (line 133) | @Override method createRow (line 138) | @Override method removeRow (line 143) | @Override method getRow (line 148) | @Override method getPhysicalNumberOfRows (line 153) | @Override method getFirstRowNum (line 158) | @Override method getLastRowNum (line 163) | @Override method setColumnHidden (line 168) | @Override method isColumnHidden (line 173) | @Override method setRightToLeft (line 178) | @Override method isRightToLeft (line 183) | @Override method setColumnWidth (line 188) | @Override method getColumnWidth (line 193) | @Override method getColumnWidthInPixels (line 198) | @Override method setDefaultColumnWidth (line 203) | @Override method getDefaultColumnWidth (line 208) | @Override method getDefaultRowHeight (line 213) | @Override method getDefaultRowHeightInPoints (line 218) | @Override method setDefaultRowHeight (line 223) | @Override method setDefaultRowHeightInPoints (line 228) | @Override method getColumnStyle (line 233) | @Override method addMergedRegion (line 238) | @Override method addMergedRegionUnsafe (line 243) | @Override method validateMergedRegions (line 248) | @Override method setVerticallyCenter (line 253) | @Override method setHorizontallyCenter (line 258) | @Override method getHorizontallyCenter (line 263) | @Override method getVerticallyCenter (line 268) | @Override method removeMergedRegion (line 273) | @Override method removeMergedRegions (line 278) | @Override method getNumMergedRegions (line 283) | @Override method getMergedRegion (line 288) | @Override method getMergedRegions (line 293) | @Override method setForceFormulaRecalculation (line 298) | @Override method getForceFormulaRecalculation (line 303) | @Override method setAutobreaks (line 308) | @Override method setDisplayGuts (line 313) | @Override method setDisplayZeros (line 318) | @Override method isDisplayZeros (line 323) | @Override method setFitToPage (line 328) | @Override method setRowSumsBelow (line 333) | @Override method setRowSumsRight (line 338) | @Override method getAutobreaks (line 343) | @Override method getDisplayGuts (line 348) | @Override method getFitToPage (line 353) | @Override method getRowSumsBelow (line 358) | @Override method getRowSumsRight (line 363) | @Override method isPrintGridlines (line 368) | @Override method setPrintGridlines (line 373) | @Override method isPrintRowAndColumnHeadings (line 378) | @Override method setPrintRowAndColumnHeadings (line 383) | @Override method getPrintSetup (line 388) | @Override method getHeader (line 393) | @Override method getFooter (line 398) | @Override method setSelected (line 403) | @Override method getMargin (line 408) | @Override method getMargin (line 413) | @Override method setMargin (line 418) | @Override method setMargin (line 423) | @Override method getProtect (line 428) | @Override method protectSheet (line 433) | @Override method getScenarioProtect (line 438) | @Override method setZoom (line 443) | @Override method getTopRow (line 448) | @Override method getLeftCol (line 453) | @Override method showInPane (line 458) | @Override method shiftRows (line 463) | @Override method shiftRows (line 468) | @Override method shiftColumns (line 474) | @Override method createFreezePane (line 479) | @Override method createFreezePane (line 485) | @Override method createSplitPane (line 490) | @Override method createSplitPane (line 496) | @Override method getPaneInformation (line 501) | @Override method setDisplayGridlines (line 506) | @Override method isDisplayGridlines (line 511) | @Override method setDisplayFormulas (line 516) | @Override method isDisplayFormulas (line 521) | @Override method setDisplayRowColHeadings (line 526) | @Override method isDisplayRowColHeadings (line 531) | @Override method setRowBreak (line 536) | @Override method isRowBroken (line 541) | @Override method removeRowBreak (line 546) | @Override method getRowBreaks (line 551) | @Override method getColumnBreaks (line 556) | @Override method setColumnBreak (line 561) | @Override method isColumnBroken (line 566) | @Override method removeColumnBreak (line 571) | @Override method setColumnGroupCollapsed (line 576) | @Override method groupColumn (line 581) | @Override method ungroupColumn (line 586) | @Override method groupRow (line 591) | @Override method ungroupRow (line 596) | @Override method setRowGroupCollapsed (line 601) | @Override method setDefaultColumnStyle (line 606) | @Override method autoSizeColumn (line 611) | @Override method autoSizeColumn (line 616) | @Override method getCellComment (line 621) | @Override method getCellComments (line 626) | @Override method getDrawingPatriarch (line 631) | @Override method createDrawingPatriarch (line 636) | @Override method isSelected (line 641) | @Override method setArrayFormula (line 646) | @Override method removeArrayFormula (line 652) | @Override method getDataValidationHelper (line 657) | @Override method getDataValidations (line 662) | @Override method addValidationData (line 667) | @Override method setAutoFilter (line 672) | @Override method getSheetConditionalFormatting (line 677) | @Override method getRepeatingRows (line 682) | @Override method getRepeatingColumns (line 687) | @Override method setRepeatingRows (line 692) | @Override method setRepeatingColumns (line 697) | @Override method getColumnOutlineLevel (line 702) | @Override method getHyperlink (line 707) | @Override method getHyperlink (line 712) | @Override method getHyperlinkList (line 717) | @Override method getActiveCell (line 722) | @Override method setActiveCell (line 727) | @Override FILE: src/main/java/cn/ponfee/commons/extract/streaming/xls/HSSFStreamingWorkbook.java class HSSFStreamingWorkbook (line 37) | public class HSSFStreamingWorkbook implements Workbook, Closeable { method HSSFStreamingWorkbook (line 44) | public HSSFStreamingWorkbook(InputStream input, int rowCacheSize, method iterator (line 52) | @Override method sheetIterator (line 58) | @Override method getSheetName (line 64) | @Override method getSheetIndex (line 70) | @Override method getSheetIndex (line 81) | @Override method getNumberOfSheets (line 92) | @Override method getSheetAt (line 98) | @Override method getSheet (line 104) | @Override method close (line 115) | @Override method awaitReadAllSheet (line 120) | private void awaitReadAllSheet() { class AsyncHSSFReader (line 134) | private class AsyncHSSFReader implements HSSFListener, Runnable { method AsyncHSSFReader (line 151) | private AsyncHSSFReader(int rowCacheSize, int[] sheetIndexs, method run (line 159) | @Override method processRecord (line 183) | @Override method endRead (line 224) | private void endRead() { method putRow (line 232) | private void putRow(HSSFStreamingRow row) { method isDiscard (line 246) | private boolean isDiscard(int sstIdx, String sstName) { method getString (line 256) | private String getString(CellRecord record) { method isSheetHidden (line 284) | @Override @Deprecated method isSheetVeryHidden (line 289) | @Override @Deprecated method getActiveSheetIndex (line 294) | @Override @Deprecated method setActiveSheet (line 299) | @Override @Deprecated method getFirstVisibleTab (line 304) | @Override @Deprecated method setFirstVisibleTab (line 309) | @Override @Deprecated method setSheetOrder (line 314) | @Override @Deprecated method setSelectedTab (line 319) | @Override @Deprecated method setSheetName (line 324) | @Override @Deprecated method createSheet (line 329) | @Override @Deprecated method createSheet (line 334) | @Override @Deprecated method cloneSheet (line 339) | @Override @Deprecated method removeSheetAt (line 344) | @Override @Deprecated method createFont (line 349) | @Override @Deprecated method findFont (line 354) | @Override @Deprecated method getNumberOfFonts (line 359) | @Override @Deprecated method getNumberOfFontsAsInt (line 364) | @Override @Deprecated method getFontAt (line 369) | @Override @Deprecated method createCellStyle (line 374) | @Override @Deprecated method getNumCellStyles (line 379) | @Override @Deprecated method getCellStyleAt (line 384) | @Override @Deprecated method write (line 389) | @Override @Deprecated method getNumberOfNames (line 394) | @Override @Deprecated method getName (line 399) | @Override @Deprecated method getNames (line 404) | @Override @Deprecated method getAllNames (line 409) | @Override @Deprecated method createName (line 414) | @Override @Deprecated method removeName (line 419) | @Override @Deprecated method linkExternalWorkbook (line 424) | @Override @Deprecated method setPrintArea (line 429) | @Override @Deprecated method setPrintArea (line 434) | @Override @Deprecated method getPrintArea (line 439) | @Override @Deprecated method removePrintArea (line 444) | @Override @Deprecated method getMissingCellPolicy (line 449) | @Override @Deprecated method setMissingCellPolicy (line 454) | @Override @Deprecated method createDataFormat (line 459) | @Override @Deprecated method addPicture (line 464) | @Override @Deprecated method getAllPictures (line 469) | @Override @Deprecated method getCreationHelper (line 474) | @Override @Deprecated method isHidden (line 479) | @Override @Deprecated method setHidden (line 484) | @Override @Deprecated method setSheetHidden (line 489) | @Override @Deprecated method getSheetVisibility (line 494) | @Override @Deprecated method setSheetVisibility (line 499) | @Override @Deprecated method addToolPack (line 504) | @Override @Deprecated method setForceFormulaRecalculation (line 509) | @Override @Deprecated method getForceFormulaRecalculation (line 514) | @Override @Deprecated method getSpreadsheetVersion (line 519) | @Override @Deprecated method addOlePackage (line 524) | @Override @Deprecated method createEvaluationWorkbook (line 529) | @Override @Deprecated method getCellReferenceType (line 534) | @Override @Deprecated method setCellReferenceType (line 539) | @Override @Deprecated FILE: src/main/java/cn/ponfee/commons/http/ContentType.java type ContentType (line 16) | public enum ContentType { method ContentType (line 43) | ContentType(String value) { method value (line 47) | public String value() { method ofValue (line 51) | public static ContentType ofValue(String value) { FILE: src/main/java/cn/ponfee/commons/http/Http.java class Http (line 58) | public final class Http { method Http (line 80) | private Http(@Nonnull String url, @Nonnull HttpMethod method) { method get (line 86) | public static Http get(String url) { method post (line 90) | public static Http post(String url) { method put (line 94) | public static Http put(String url) { method head (line 98) | public static Http head(String url) { method delete (line 102) | public static Http delete(String url) { method trace (line 106) | public static Http trace(String url) { method options (line 110) | public static Http options(String url) { method of (line 114) | public static Http of(String url, String method) { method of (line 118) | public static Http of(String url, HttpMethod method) { method addHeader (line 129) | public Http addHeader(String name, String value) { method addHeader (line 139) | public Http addHeader(Map headers) { method addParam (line 154) | public Http addParam(Map params) { method addParam (line 159) | public Http addParam(String name, T value) { method data (line 171) | public Http data(Map data) { method data (line 184) | public Http data(Map data, String charset) { method data (line 194) | public Http data(String data) { method addPart (line 202) | public Http addPart(String formName, String fileName, Object mimePart) { method addPart (line 214) | public Http addPart(String formName, String fileName, method encode (line 226) | public Http encode(Boolean encode) { method contentType (line 244) | public Http contentType(ContentType contentType, String contentCharset) { method contentType (line 250) | public Http contentType(ContentType contentType) { method accept (line 261) | public Http accept(ContentType contentType) { method connTimeoutSeconds (line 272) | public Http connTimeoutSeconds(int seconds) { method readTimeoutSeconds (line 282) | public Http readTimeoutSeconds(int seconds) { method setSSLSocketFactory (line 293) | public Http setSSLSocketFactory(SSLSocketFactory factory) { method setSSLSocketFactory (line 298) | public Http setSSLSocketFactory(SSLContext sslContext) { method request (line 303) | public T request(JavaType type) { method request (line 307) | public T request(Class type) { method request (line 315) | public String request() { method download (line 324) | public void download(String filepath) { method download (line 332) | public byte[] download() { method download (line 343) | public void download(OutputStream output) { method getRespHeaders (line 368) | public Map> getRespHeaders() { method getReqHeaders (line 372) | public Map getReqHeaders() { method getRespHeaders (line 376) | public String[] getRespHeaders(String name) { method getRespHeader (line 388) | public String getRespHeader(String name) { method getStatus (line 398) | public HttpStatus getStatus() { method request0 (line 403) | private HttpRequest request0() { method disconnect (line 449) | private void disconnect(HttpRequest request) { type HttpMethod (line 463) | public enum HttpMethod { class MimePart (line 470) | private static final class MimePart { method MimePart (line 476) | MimePart(String formName, String fileName, String contentType, Objec... FILE: src/main/java/cn/ponfee/commons/http/HttpException.java class HttpException (line 16) | public class HttpException extends RuntimeException { method HttpException (line 20) | public HttpException() { method HttpException (line 24) | public HttpException(String message) { method HttpException (line 28) | public HttpException(String message, Throwable cause) { method HttpException (line 32) | public HttpException(Throwable cause) { method HttpException (line 36) | protected HttpException(String message, Throwable cause, FILE: src/main/java/cn/ponfee/commons/http/HttpParams.java class HttpParams (line 28) | public class HttpParams { method parseUrlParams (line 31) | public static Map parseUrlParams(String url) { method parseUrlParams (line 35) | public static Map parseUrlParams(String url, String ... method parseParams (line 41) | public static Map parseParams(String queryString) { method parseParams (line 51) | public static Map parseParams(String queryString, St... method buildParams (line 75) | public static String buildParams(Map params) { method buildParams (line 85) | public static String buildParams(Map params, String encodin... method buildUrlPath (line 122) | public static String buildUrlPath(String url, String encoding, Map params) { method buildSigning (line 146) | public static String buildSigning(Map params, String[] excl... method buildSigning (line 150) | public static String buildSigning(Map params, String wrapCh... method buildForm (line 186) | public static String buildForm(String url, Map params) { method buildSoap (line 224) | public static String buildSoap(String method, String namespace, Map params, String name... method buildInputElement (line 252) | private static void buildInputElement(StringBuilder form, String name,... FILE: src/main/java/cn/ponfee/commons/http/HttpRequest.java class HttpRequest (line 71) | public class HttpRequest { method getAcceptedIssuers (line 225) | @Override method checkClientTrusted (line 230) | @Override method checkServerTrusted (line 235) | @Override method getValidCharset (line 251) | private static String getValidCharset(String charset) { method addPathSeparator (line 259) | private static StringBuilder addPathSeparator(String baseUrl, StringBu... method addParamPrefix (line 270) | private static StringBuilder addParamPrefix(String baseUrl, StringBuil... method addParam (line 282) | private static StringBuilder addParam(Object key, Object value, String... type ConnectionFactory (line 315) | public interface ConnectionFactory { method create (line 320) | HttpURLConnection create(URL url) throws IOException; method create (line 327) | HttpURLConnection create(URL url, Proxy proxy) throws IOException; method create (line 334) | @Override method create (line 339) | @Override method setConnectionFactory (line 351) | public static void setConnectionFactory(ConnectionFactory cf) { type UploadProgress (line 358) | public interface UploadProgress { method onUpload (line 366) | void onUpload(long uploaded, long total); class Operation (line 379) | private abstract static class Operation implements Callable { method run (line 388) | protected abstract V run() throws HttpException, IOException; method done (line 395) | protected abstract void done() throws IOException; method call (line 397) | @Override class CloseOperation (line 421) | private abstract static class CloseOperation extends Operation { method CloseOperation (line 433) | protected CloseOperation(Closeable closeable, boolean ignoreCloseExc... method done (line 438) | @Override class FlushOperation (line 462) | private abstract static class FlushOperation extends Operation { method FlushOperation (line 471) | protected FlushOperation(Flushable flushable) { method done (line 475) | @Override class RequestOutputStream (line 484) | public static class RequestOutputStream extends BufferedOutputStream { method RequestOutputStream (line 495) | public RequestOutputStream(OutputStream stream, String charset, int ... method write (line 508) | public RequestOutputStream write(String value) throws IOException { method encode (line 528) | public static String encode(CharSequence url) method append (line 566) | public static String append(CharSequence url, Map params) { method append (line 601) | public static String append(CharSequence url, Object... params) { method get (line 633) | public static HttpRequest get(CharSequence url) throws HttpException { method get (line 644) | public static HttpRequest get(URL url) throws HttpException { method get (line 660) | public static HttpRequest get(CharSequence baseUrl, Map params, ... method get (line 678) | public static HttpRequest get(CharSequence baseUrl, boolean encode, Ob... method post (line 690) | public static HttpRequest post(CharSequence url) throws HttpException { method post (line 701) | public static HttpRequest post(URL url) throws HttpException { method post (line 717) | public static HttpRequest post(CharSequence baseUrl, Map params,... method post (line 735) | public static HttpRequest post(CharSequence baseUrl, boolean encode, O... method put (line 747) | public static HttpRequest put(CharSequence url) throws HttpException { method put (line 758) | public static HttpRequest put(URL url) throws HttpException { method put (line 774) | public static HttpRequest put(CharSequence baseUrl, Map params, ... method put (line 792) | public static HttpRequest put(CharSequence baseUrl, boolean encode, Ob... method delete (line 804) | public static HttpRequest delete(CharSequence url) throws HttpException { method delete (line 815) | public static HttpRequest delete(URL url) throws HttpException { method delete (line 831) | public static HttpRequest delete(CharSequence baseUrl, Map param... method delete (line 849) | public static HttpRequest delete(CharSequence baseUrl, boolean encode,... method head (line 861) | public static HttpRequest head(CharSequence url) throws HttpException { method head (line 872) | public static HttpRequest head(URL url) throws HttpException { method head (line 886) | public static HttpRequest head(CharSequence baseUrl, Map params,... method head (line 902) | public static HttpRequest head(CharSequence baseUrl, method options (line 915) | public static HttpRequest options(CharSequence url) method options (line 927) | public static HttpRequest options(URL url) throws HttpException { method trace (line 938) | public static HttpRequest trace(CharSequence url) method trace (line 950) | public static HttpRequest trace(URL url) throws HttpException { method keepAlive (line 961) | public static void keepAlive(boolean keepAlive) { method maxConnections (line 972) | public static void maxConnections(int maxConnections) { method proxyHost (line 984) | public static void proxyHost(String host) { method proxyPort (line 997) | public static void proxyPort(int port) { method nonProxyHosts (line 1012) | public static void nonProxyHosts(String... hosts) { method setProperty (line 1035) | private static String setProperty(String name, String value) { method HttpRequest (line 1080) | public HttpRequest(CharSequence url, String method) throws HttpExcepti... method HttpRequest (line 1096) | public HttpRequest(URL url, String method) method createProxy (line 1102) | private Proxy createProxy() { method createConnection (line 1106) | private HttpURLConnection createConnection() { method toString (line 1121) | @Override method getConnection (line 1131) | public HttpURLConnection getConnection() { method ignoreCloseExceptions (line 1147) | public HttpRequest ignoreCloseExceptions(boolean ignore) { method ignoreCloseExceptions (line 1158) | public boolean ignoreCloseExceptions() { method code (line 1168) | public int code() throws HttpException { method code (line 1185) | public HttpRequest code(AtomicInteger output) throws HttpException { method ok (line 1196) | public boolean ok() throws HttpException { method created (line 1206) | public boolean created() throws HttpException { method noContent (line 1216) | public boolean noContent() throws HttpException { method serverError (line 1226) | public boolean serverError() throws HttpException { method badRequest (line 1236) | public boolean badRequest() throws HttpException { method notFound (line 1246) | public boolean notFound() throws HttpException { method notModified (line 1256) | public boolean notModified() throws HttpException { method status (line 1265) | public HttpStatus status() { method message (line 1274) | public String message() throws HttpException { method disconnect (line 1288) | public HttpRequest disconnect() { method chunk (line 1299) | public HttpRequest chunk(int size) { method bufferSize (line 1315) | public HttpRequest bufferSize(int size) { method bufferSize (line 1330) | public int bufferSize() { method decompress (line 1352) | public HttpRequest decompress(boolean decompress) { method byteStream (line 1362) | protected ByteArrayOutputStream byteStream() { method body (line 1381) | public String body(String charset) throws HttpException { method body (line 1398) | public String body() throws HttpException { method body (line 1410) | public HttpRequest body(AtomicReference output) method body (line 1425) | public HttpRequest body(AtomicReference output, String charset) method isBodyEmpty (line 1437) | public boolean isBodyEmpty() throws HttpException { method bytes (line 1446) | public byte[] bytes() { method buffer (line 1459) | public BufferedInputStream buffer() throws HttpException { method stream (line 1469) | public InputStream stream() throws HttpException { method reader (line 1513) | public InputStreamReader reader(String charset) method reader (line 1529) | public InputStreamReader reader() throws HttpException { method bufferedReader (line 1543) | public BufferedReader bufferedReader(String charset) method bufferedReader (line 1556) | public BufferedReader bufferedReader() throws HttpException { method receive (line 1567) | public HttpRequest receive(File file) throws HttpException { method receive (line 1589) | public HttpRequest receive(OutputStream output) { method receive (line 1600) | public HttpRequest receive(PrintStream output) throws HttpException { method receive (line 1611) | public HttpRequest receive(Appendable appendable) throws HttpException { method receive (line 1636) | public HttpRequest receive(Writer writer) throws HttpException { method readTimeout (line 1653) | public HttpRequest readTimeout(int timeout) { method connectTimeout (line 1664) | public HttpRequest connectTimeout(int timeout) { method header (line 1676) | public HttpRequest header(String name, String value) { method header (line 1688) | public HttpRequest header(String name, Number value) { method headers (line 1699) | public HttpRequest headers(Map headers) { method header (line 1714) | public HttpRequest header(Entry header) { method header (line 1725) | public String header(String name) throws HttpException { method headers (line 1736) | public Map> headers() throws HttpException { method dateHeader (line 1749) | public long dateHeader(String name) throws HttpException { method dateHeader (line 1762) | public long dateHeader(String name, long defaultValue) throws HttpExce... method intHeader (line 1775) | public int intHeader(String name) throws HttpException { method intHeader (line 1789) | public int intHeader(String name, int defaultValue) method headers (line 1801) | public String[] headers(String name) { method parameter (line 1822) | public String parameter(String headerName, String paramName) { method parameters (line 1835) | public Map parameters(String headerName) { method getParams (line 1845) | protected Map getParams(String header) { method getParam (line 1897) | protected String getParam(String value, String paramName) { method charset (line 1944) | public String charset() { method userAgent (line 1954) | public HttpRequest userAgent(String userAgent) { method referer (line 1964) | public HttpRequest referer(String referer) { method useCaches (line 1974) | public HttpRequest useCaches(boolean useCaches) { method acceptEncoding (line 1985) | public HttpRequest acceptEncoding(String acceptEncoding) { method acceptGzipEncoding (line 1995) | public HttpRequest acceptGzipEncoding() { method acceptCharset (line 2005) | public HttpRequest acceptCharset(String acceptCharset) { method contentEncoding (line 2014) | public String contentEncoding() { method server (line 2023) | public String server() { method date (line 2032) | public long date() { method cacheControl (line 2041) | public String cacheControl() { method eTag (line 2050) | public String eTag() { method expires (line 2059) | public long expires() { method lastModified (line 2068) | public long lastModified() { method location (line 2077) | public String location() { method authorization (line 2087) | public HttpRequest authorization(String authorization) { method proxyAuthorization (line 2097) | public HttpRequest proxyAuthorization(String proxyAuthorization) { method basic (line 2109) | public HttpRequest basic(String name, String password) { method proxyBasic (line 2122) | public HttpRequest proxyBasic(String name, String password) { method ifModifiedSince (line 2133) | public HttpRequest ifModifiedSince(long ifModifiedSince) { method ifNoneMatch (line 2144) | public HttpRequest ifNoneMatch(String ifNoneMatch) { method contentType (line 2154) | public HttpRequest contentType(String contentType) { method contentType (line 2165) | public HttpRequest contentType(String contentType, String charset) { method contentType (line 2179) | public String contentType() { method contentLength (line 2188) | public int contentLength() { method contentLength (line 2198) | public HttpRequest contentLength(String contentLength) { method contentLength (line 2208) | public HttpRequest contentLength(int contentLength) { method accept (line 2219) | public HttpRequest accept(String accept) { method acceptJson (line 2228) | public HttpRequest acceptJson() { method copy (line 2240) | protected HttpRequest copy(InputStream input, OutputStream output) { method copy (line 2264) | protected HttpRequest copy(Reader input, Writer output) { method progress (line 2286) | public HttpRequest progress(UploadProgress callback) { method incrementTotalSize (line 2295) | private HttpRequest incrementTotalSize(long size) { method closeOutput (line 2310) | protected HttpRequest closeOutput() throws IOException { method closeOutputQuietly (line 2340) | protected HttpRequest closeOutputQuietly() throws HttpException { method openOutput (line 2354) | protected HttpRequest openOutput() throws IOException { method startPart (line 2370) | protected HttpRequest startPart() throws IOException { method writePartHeader (line 2389) | protected HttpRequest writePartHeader(String name, String filename) { method writePartHeader (line 2402) | protected HttpRequest writePartHeader(String name, String filename, St... method part (line 2423) | public HttpRequest part(String name, String part) { method part (line 2436) | public HttpRequest part(String name, String filename, String part) method part (line 2451) | public HttpRequest part(String name, String filename, String contentTy... method part (line 2471) | public HttpRequest part(String name, Number part) method part (line 2484) | public HttpRequest part(String name, String filename, Number part) { method part (line 2496) | public HttpRequest part(String name, File part) method part (line 2510) | public HttpRequest part(String name, String filename, File part) method part (line 2525) | public HttpRequest part(String name, String filename, String contentTy... method part (line 2545) | public HttpRequest part(String name, InputStream part) method part (line 2560) | public HttpRequest part(String name, String filename, String contentTy... method partHeader (line 2580) | public HttpRequest partHeader(String name, String value) method send (line 2592) | public HttpRequest send(File input) throws HttpException { method send (line 2610) | public HttpRequest send(byte[] input) throws HttpException { method send (line 2627) | public HttpRequest send(InputStream input) throws HttpException { method send (line 2646) | public HttpRequest send(Reader input) throws HttpException { method send (line 2673) | public HttpRequest send(CharSequence value) throws HttpException { method writer (line 2689) | public OutputStreamWriter writer() throws HttpException { method form (line 2708) | public HttpRequest form(Map values) throws HttpException { method form (line 2722) | public HttpRequest form(Entry entry) throws HttpException { method form (line 2737) | public HttpRequest form(Entry entry, String charset) method form (line 2753) | public HttpRequest form(Object name, Object value) throws HttpException { method form (line 2769) | public HttpRequest form(Object name, Object value, String charset) method form (line 2801) | public HttpRequest form(Map values, String charset) method trustAllCerts (line 2819) | public HttpRequest trustAllCerts() throws HttpException { method setSSLSocketFactory (line 2832) | public HttpRequest setSSLSocketFactory(SSLSocketFactory factory) { method trustAllHosts (line 2849) | public HttpRequest trustAllHosts() { method url (line 2862) | public URL url() { method method (line 2871) | public String method() { method useProxy (line 2883) | public HttpRequest useProxy(String proxyHost, int proxyPort) { method followRedirects (line 2901) | public HttpRequest followRedirects(boolean followRedirects) { FILE: src/main/java/cn/ponfee/commons/http/HttpStatus.java type HttpStatus (line 20) | public enum HttpStatus { method HttpStatus (line 404) | HttpStatus(int code, String desc) { method code (line 412) | public int code() { method desc (line 419) | public String desc() { method series (line 427) | public Series series() { method is1xxInformational (line 437) | public boolean is1xxInformational() { method is2xxSuccessful (line 447) | public boolean is2xxSuccessful() { method is3xxRedirection (line 457) | public boolean is3xxRedirection() { method is4xxClientError (line 467) | public boolean is4xxClientError() { method is5xxServerError (line 477) | public boolean is5xxServerError() { method toString (line 484) | @Override method valueOf (line 495) | public static HttpStatus valueOf(int statusCode) { type Series (line 513) | public enum Series { method Series (line 522) | Series(int value) { method value (line 529) | public int value() { method valueOf (line 539) | public static Series valueOf(HttpStatus status) { method valueOf (line 549) | public static Series valueOf(int statusCode) { FILE: src/main/java/cn/ponfee/commons/io/ByteOrderMarks.java type ByteOrderMarks (line 44) | public enum ByteOrderMarks { method ByteOrderMarks (line 63) | ByteOrderMarks(Charset charset, byte... bytes) { method of (line 69) | public static ByteOrderMarks of(String path) throws IOException { method of (line 73) | public static ByteOrderMarks of(File file) throws IOException { method of (line 77) | public static ByteOrderMarks of(InputStream input) throws IOException { method of (line 81) | public static ByteOrderMarks of(byte[] bytes) { method of (line 86) | public static ByteOrderMarks of(Charset charset, String path) throws I... method of (line 90) | public static ByteOrderMarks of(Charset charset, File file) throws IOE... method of (line 98) | public static ByteOrderMarks of(Charset charset, InputStream input) th... method of (line 106) | public static ByteOrderMarks of(Charset charset, byte[] bytes) { method has (line 116) | public static boolean has(String path) throws IOException { method has (line 120) | public static boolean has(File file) throws IOException { method has (line 124) | public static boolean has(InputStream input) throws IOException { method has (line 128) | public static boolean has(byte[] bytes) { method has (line 133) | public static boolean has(Charset charset, String path) throws IOExcep... method has (line 137) | public static boolean has(Charset charset, File file) throws IOExcepti... method has (line 141) | public static boolean has(Charset charset, InputStream input) throws I... method has (line 145) | public static boolean has(Charset charset, byte[] bytes) { method add (line 150) | public static ByteOrderMarks add(String path) throws IOException { method add (line 154) | public static ByteOrderMarks add(File file) throws IOException { method add (line 158) | public static ByteOrderMarks add(Charset charset, String path) throws ... method add (line 162) | public static ByteOrderMarks add(Charset charset, File file) throws IO... method remove (line 200) | public static ByteOrderMarks remove(String path) throws IOException { method remove (line 204) | public static ByteOrderMarks remove(File file) throws IOException { method remove (line 208) | public static ByteOrderMarks remove(Charset charset, String path) thro... method remove (line 212) | public static ByteOrderMarks remove(Charset charset, File file) throws... method get (line 250) | public static byte[] get(Charset charset) { method charset (line 256) | public Charset charset() { method bytes (line 260) | public byte[] bytes() { method length (line 264) | public int length() { method match (line 269) | private boolean match(byte[] array) { method match (line 273) | private boolean match(byte[] array, int count) { FILE: src/main/java/cn/ponfee/commons/io/CharsetDetector.java class CharsetDetector (line 23) | public class CharsetDetector { method detect (line 29) | public static Charset detect(String path) { method detect (line 33) | public static Charset detect(String path, int length) { method detect (line 37) | public static Charset detect(File file) { method detect (line 41) | public static Charset detect(File file, int length) { method detect (line 49) | public static Charset detect(URL url) { method detect (line 53) | public static Charset detect(URL url, int length) { method detect (line 62) | public static Charset detect(byte[] bytes) { method detect (line 66) | public static Charset detect(byte[] bytes, int length) { method detect (line 70) | public static Charset detect(byte[] bytes, int offset, int length) { method detect (line 80) | public static Charset detect(InputStream input) throws IOException { method detect (line 84) | public static Charset detect(InputStream input, int length) throws IOE... FILE: src/main/java/cn/ponfee/commons/io/Closeables.java class Closeables (line 22) | public final class Closeables { method ignore (line 31) | public static void ignore(@Nullable AutoCloseable closeable) { method console (line 46) | public static void console(@Nullable AutoCloseable closeable) { method log (line 56) | public static void log(@Nullable AutoCloseable closeable) { method log (line 66) | public static void log(@Nullable AutoCloseable closeable, String errMs... FILE: src/main/java/cn/ponfee/commons/io/ExtendedGZIPOutputStream.java class ExtendedGZIPOutputStream (line 20) | public class ExtendedGZIPOutputStream extends GZIPOutputStream { method ExtendedGZIPOutputStream (line 22) | public ExtendedGZIPOutputStream(OutputStream out) throws IOException { method ExtendedGZIPOutputStream (line 26) | public ExtendedGZIPOutputStream(OutputStream out, int level) throws IO... FILE: src/main/java/cn/ponfee/commons/io/FileTransformer.java class FileTransformer (line 22) | public class FileTransformer { method FileTransformer (line 43) | public FileTransformer(String source, String target) { method FileTransformer (line 47) | public FileTransformer(String source, String target, String encoding) { method setIncludeFileExtensions (line 58) | public void setIncludeFileExtensions(String... includeFileExtensions) { method setReplaceEach (line 62) | public void setReplaceEach(String[] searchList, String[] replacementLi... method transform (line 70) | public void transform() { method getTransformLog (line 74) | public String getTransformLog() { method transform (line 78) | private void transform(File file) { method transform (line 119) | public static void transform(File source, File target) { method transform (line 136) | public static void transform(File source, File target, method transform (line 156) | public static void transform(File source, File target, method transform (line 169) | public static void transform(File source, File target, method writeln (line 182) | private static void writeln(WrappedBufferedReader reader, method regexExtensions (line 200) | private static String regexExtensions(String... fileExtensions) { FILE: src/main/java/cn/ponfee/commons/io/Files.java class Files (line 28) | public final class Files { method mkdir (line 83) | public static File mkdir(String filePath) { method mkdir (line 95) | public static void mkdir(File file) { method touch (line 114) | public static void touch(File file) { method toString (line 138) | public static String toString(File file) throws IOException { method toString (line 143) | public static String toString(File file, Charset charset) throws IOExc... method toByteArray (line 169) | public static byte[] toByteArray(File file) { method readByteArray (line 184) | public static byte[] readByteArray(String filePath, int count) throws ... method readByteArray (line 188) | public static byte[] readByteArray(File file, int count) throws IOExce... method readByteArray (line 194) | public static byte[] readByteArray(InputStream input, int count) throw... method listFiles (line 204) | public static TreeNode listFiles(String filePath) { method listFiles (line 214) | public static TreeNode listFiles(File file) { method tree (line 233) | public static String tree(String filePath) throws IOException { method tree (line 244) | public static String tree(File file) throws IOException { FILE: src/main/java/cn/ponfee/commons/io/GzipProcessor.java class GzipProcessor (line 21) | public final class GzipProcessor { method compress (line 30) | public static byte[] compress(byte[] data) { method compress (line 41) | public static void compress(byte[] data, OutputStream output) { method compress (line 56) | public static long compress(InputStream input, OutputStream output) { method decompress (line 72) | public static byte[] decompress(byte[] data) { method decompress (line 78) | public static void decompress(byte[] data, OutputStream output) { method decompress (line 87) | public static void decompress(InputStream input, OutputStream output) { FILE: src/main/java/cn/ponfee/commons/io/HumanReadables.java type HumanReadables (line 30) | public enum HumanReadables { method HumanReadables (line 45) | HumanReadables(int base, String... units) { method human (line 62) | public strictfp String human(long size) { method parse (line 85) | public long parse(String size) { method parse (line 96) | public strictfp long parse(String size, boolean strict) { method base (line 180) | public int base() { method units (line 184) | public String[] units() { method sizes (line 188) | public long[] sizes() { method find (line 193) | private int find(long bytes) { method isBlank (line 203) | private boolean isBlank(char c) { FILE: src/main/java/cn/ponfee/commons/io/PrereadInputStream.java class PrereadInputStream (line 19) | public class PrereadInputStream extends InputStream { method PrereadInputStream (line 26) | public PrereadInputStream(InputStream input, int maxCount) throws IOEx... method read (line 36) | @Override method read (line 45) | @Override method read (line 65) | @Override method heads (line 70) | public byte[] heads() { method skip (line 74) | @Override method available (line 88) | @Override method close (line 93) | @Override method mark (line 99) | @Override @Deprecated method reset (line 104) | @Override method markSupported (line 109) | @Override FILE: src/main/java/cn/ponfee/commons/io/StringPrintWriter.java class StringPrintWriter (line 19) | public class StringPrintWriter extends PrintWriter { method StringPrintWriter (line 21) | public StringPrintWriter() { method StringPrintWriter (line 25) | public StringPrintWriter(int initialSize) { method getString (line 29) | public String getString() { method toString (line 34) | @Override FILE: src/main/java/cn/ponfee/commons/io/WrappedBufferedReader.java class WrappedBufferedReader (line 20) | public class WrappedBufferedReader extends Reader { method WrappedBufferedReader (line 24) | public WrappedBufferedReader(File file) throws FileNotFoundException { method WrappedBufferedReader (line 28) | public WrappedBufferedReader(File file, String charset) throws FileNot... method WrappedBufferedReader (line 32) | public WrappedBufferedReader(File file, Charset charset) throws FileNo... method WrappedBufferedReader (line 36) | public WrappedBufferedReader(InputStream input, Charset charset) { method close (line 42) | @Override method read (line 48) | @Override method read (line 53) | @Override method read (line 58) | @Override method read (line 63) | @Override method skip (line 68) | @Override method ready (line 73) | @Override method markSupported (line 78) | @Override method mark (line 83) | @Override method reset (line 88) | @Override method readLine (line 93) | public String readLine() throws IOException { FILE: src/main/java/cn/ponfee/commons/io/WrappedBufferedWriter.java class WrappedBufferedWriter (line 19) | public class WrappedBufferedWriter extends Writer { method WrappedBufferedWriter (line 24) | public WrappedBufferedWriter(File file) throws FileNotFoundException { method WrappedBufferedWriter (line 28) | public WrappedBufferedWriter(File file, String charset) throws FileNot... method WrappedBufferedWriter (line 32) | public WrappedBufferedWriter(File file, Charset charset) throws FileNo... method WrappedBufferedWriter (line 36) | public WrappedBufferedWriter(OutputStream output, Charset charset) { method write (line 43) | @Override method write (line 48) | @Override method write (line 53) | @Override method write (line 58) | @Override method append (line 63) | @Override method append (line 68) | @Override method append (line 73) | @Override method flush (line 78) | @Override method close (line 83) | @Override method write (line 90) | @Override method newLine (line 95) | public void newLine() throws IOException { method write (line 99) | public void write(byte[] bytes) throws IOException { method writeln (line 103) | public void writeln() throws IOException { method writeln (line 107) | public void writeln(String str) throws IOException { FILE: src/main/java/cn/ponfee/commons/io/charset/BytesDetector.java class BytesDetector (line 26) | public class BytesDetector { method detect (line 30) | public static Charset detect(InputStream input, int length) throws IOE... method detect (line 35) | public static String detect(byte[] rawtext) { method gb2312_probability (line 79) | private static int gb2312_probability(byte[] rawtext) { method gbk_probability (line 114) | private static int gbk_probability(byte[] rawtext) { method gb18030_probability (line 168) | private static int gb18030_probability(byte[] rawtext) { method hz_probability (line 233) | private static int hz_probability(byte[] rawtext) { method between (line 291) | private static boolean between(byte b) { method big5_probability (line 299) | private static int big5_probability(byte[] rawtext) { method euc_tw_probability (line 337) | private static int euc_tw_probability(byte[] rawtext) { method iso_2022_cn_probability (line 378) | private static int iso_2022_cn_probability(byte[] rawtext) { method utf8_probability (line 450) | private static int utf8_probability(byte[] rawtext) { method utf16_probability (line 492) | private static int utf16_probability(byte[] rawtext) { method ascii_probability (line 521) | private static int ascii_probability(byte[] rawtext) { method euc_kr_probability (line 540) | private static int euc_kr_probability(byte[] rawtext) { method cp949_probability (line 574) | private static int cp949_probability(byte[] rawtext) { method iso_2022_kr_probability (line 607) | private static int iso_2022_kr_probability(byte[] rawtext) { method euc_jp_probability (line 621) | private static int euc_jp_probability(byte[] rawtext) { method iso_2022_jp_probability (line 651) | private static int iso_2022_jp_probability(byte[] rawtext) { method sjis_probability (line 664) | private static int sjis_probability(byte[] rawtext) { class Encoding (line 1604) | private static class Encoding { FILE: src/main/java/cn/ponfee/commons/io/charset/TikaDetector.java class TikaDetector (line 38) | public class TikaDetector { method detect (line 40) | public static Charset detect(InputStream input, int length) throws IOE... FILE: src/main/java/cn/ponfee/commons/jce/CryptoProvider.java class CryptoProvider (line 36) | public abstract class CryptoProvider { method encrypt (line 44) | public abstract byte[] encrypt(@Nonnull byte[] original); method decrypt (line 52) | public abstract byte[] decrypt(@Nonnull byte[] encrypted); method sign (line 60) | public byte[] sign(byte[] data) { method verify (line 71) | public boolean verify(byte[] data, byte[] signed) { method encrypt (line 81) | public final String encrypt(String plaintext) { method encrypt (line 92) | public final String encrypt(String plaintext, Charset charset) { method decrypt (line 108) | public final String decrypt(String ciphertext) { method decrypt (line 119) | public final String decrypt(String ciphertext, Charset charset) { method sign (line 136) | public final String sign(String data) { method sign (line 147) | public final String sign(String data, String charset) { method verify (line 163) | public final boolean verify(String data, String signed) { method verify (line 175) | public final boolean verify(String data, String charset, String signed) { method symmetricKeyProvider (line 188) | public static CryptoProvider symmetricKeyProvider(SymmetricCryptor sym... method rsaPublicKeyProvider (line 212) | public static CryptoProvider rsaPublicKeyProvider(String pkcs8PublicKe... method rsaPrivateKeyProvider (line 242) | public static CryptoProvider rsaPrivateKeyProvider(String pkcs8Private... method rsaProvider (line 254) | public static CryptoProvider rsaProvider(RSAPrivateKey priKey, RSAPubl... method sm2PublicKeyProvider (line 282) | public static CryptoProvider sm2PublicKeyProvider(byte[] publicKey) { method sm2PublicKeyProvider (line 286) | public static CryptoProvider sm2PublicKeyProvider(ECParameters ecParam... method sm2PrivateKeyProvider (line 308) | public static CryptoProvider sm2PrivateKeyProvider(byte[] publicKey, method sm2PrivateKeyProvider (line 313) | public static CryptoProvider sm2PrivateKeyProvider(ECParameters ecPara... method ecdsaPublicKeyProvider (line 343) | public static CryptoProvider ecdsaPublicKeyProvider(byte[] publicKey) { method ecdsaPrivateKeyProvider (line 364) | public static CryptoProvider ecdsaPrivateKeyProvider(byte[] publicKey,... FILE: src/main/java/cn/ponfee/commons/jce/DigestAlgorithms.java type DigestAlgorithms (line 21) | public enum DigestAlgorithms { method DigestAlgorithms (line 81) | DigestAlgorithms(int bitLen) { method DigestAlgorithms (line 86) | DigestAlgorithms(String algorithm, int bitLen) { method algorithm (line 91) | public String algorithm() { method byteSize (line 95) | public int byteSize() { FILE: src/main/java/cn/ponfee/commons/jce/ECParameters.java class ECParameters (line 44) | @SuppressWarnings("unchecked") method ECParameters (line 176) | public ECParameters(String name, String p, String a, method toString (line 211) | @Override method fromString (line 224) | public static ECParameters fromString(String parameter) { method encodeHex (line 232) | private static String encodeHex(byte[] bytes) { method hashCode (line 237) | @Override method equals (line 244) | @Override method hexToBigInteger (line 267) | private static BigInteger hexToBigInteger(String hex) { FILE: src/main/java/cn/ponfee/commons/jce/HmacAlgorithms.java type HmacAlgorithms (line 17) | public enum HmacAlgorithms { method HmacAlgorithms (line 60) | HmacAlgorithms(int bitLen) { method HmacAlgorithms (line 65) | HmacAlgorithms(String algorithm, int bitLen) { method algorithm (line 70) | public String algorithm() { method byteSize (line 74) | public int byteSize() { FILE: src/main/java/cn/ponfee/commons/jce/Providers.java type Providers (line 27) | @SuppressWarnings("restriction") method get (line 30) | static Provider get(String name) { method get (line 34) | static Provider get(Class type) { method set (line 53) | static void set(Provider provider) { method clear (line 57) | static void clear() { method setGlobal (line 61) | static void setGlobal(Provider provider) { method clearGlobal (line 65) | static void clearGlobal() { method getKeyAgreement (line 70) | static KeyAgreement getKeyAgreement(String algorithm) { method getKeyAgreement (line 74) | static KeyAgreement getKeyAgreement(String algorithm, Provider provide... method getKeyGenerator (line 85) | static KeyGenerator getKeyGenerator(String algorithm) { method getKeyGenerator (line 89) | static KeyGenerator getKeyGenerator(String algorithm, Provider provide... method getCipher (line 100) | static Cipher getCipher(String algorithm) { method getCipher (line 104) | static Cipher getCipher(String algorithm, Provider provider) { method getKeyPairGenerator (line 115) | static KeyPairGenerator getKeyPairGenerator(String algorithm) { method getKeyPairGenerator (line 119) | static KeyPairGenerator getKeyPairGenerator(String algorithm, Provider... method getKeyFactory (line 130) | static KeyFactory getKeyFactory(String algorithm) { method getKeyFactory (line 134) | static KeyFactory getKeyFactory(String algorithm, Provider provider) { method getSignature (line 145) | static Signature getSignature(String algorithm) { method getSignature (line 149) | static Signature getSignature(String algorithm, Provider provider) { method getKeyStore (line 160) | static KeyStore getKeyStore(String algorithm) { method getKeyStore (line 164) | static KeyStore getKeyStore(String algorithm, Provider provider) { method getTrustManagerFactory (line 175) | static TrustManagerFactory getTrustManagerFactory(String algorithm) { method getTrustManagerFactory (line 179) | static TrustManagerFactory getTrustManagerFactory(String algorithm, Pr... method getKeyManagerFactory (line 190) | static KeyManagerFactory getKeyManagerFactory(String algorithm) { method getKeyManagerFactory (line 194) | static KeyManagerFactory getKeyManagerFactory(String algorithm, Provid... method getSSLContext (line 205) | static SSLContext getSSLContext(String algorithm) { method getSSLContext (line 209) | static SSLContext getSSLContext(String algorithm, Provider provider) { method getCertificateFactory (line 220) | static CertificateFactory getCertificateFactory(String algorithm) { method getCertificateFactory (line 224) | static CertificateFactory getCertificateFactory(String algorithm, Prov... method getSecretKeyFactory (line 235) | static SecretKeyFactory getSecretKeyFactory(String algorithm) { method getSecretKeyFactory (line 239) | static SecretKeyFactory getSecretKeyFactory(String algorithm, Provider... class ProvidersHolder (line 271) | final class ProvidersHolder { method getProvider (line 288) | private static Provider getProvider(Provider provider) { class NullProvider (line 303) | final class NullProvider extends Provider { method NullProvider (line 307) | private NullProvider() { FILE: src/main/java/cn/ponfee/commons/jce/RSACipherPaddings.java type RSACipherPaddings (line 19) | public enum RSACipherPaddings { method RSACipherPaddings (line 56) | RSACipherPaddings(String transform) { method transform (line 60) | public String transform() { FILE: src/main/java/cn/ponfee/commons/jce/RSASignAlgorithms.java type RSASignAlgorithms (line 16) | public enum RSASignAlgorithms { FILE: src/main/java/cn/ponfee/commons/jce/cert/CertPKCS1Verifier.java class CertPKCS1Verifier (line 24) | public class CertPKCS1Verifier extends CertSignedVerifier { method CertPKCS1Verifier (line 34) | public CertPKCS1Verifier(X509Certificate rootCert, X509CRL crl, method verifySigned (line 41) | @Override FILE: src/main/java/cn/ponfee/commons/jce/cert/CertPKCS7Verifier.java class CertPKCS7Verifier (line 29) | @SuppressWarnings("restriction") method CertPKCS7Verifier (line 41) | public CertPKCS7Verifier(X509Certificate rootCert, X509CRL crl, method CertPKCS7Verifier (line 52) | public CertPKCS7Verifier(X509Certificate rootCert, X509CRL crl, byte[]... method CertPKCS7Verifier (line 62) | public CertPKCS7Verifier(X509Certificate rootCert, X509CRL crl, PKCS7 ... method CertPKCS7Verifier (line 73) | public CertPKCS7Verifier(X509Certificate rootCert, X509CRL crl, method verifySigned (line 98) | @Override FILE: src/main/java/cn/ponfee/commons/jce/cert/CertSignedVerifier.java class CertSignedVerifier (line 25) | public abstract class CertSignedVerifier { method CertSignedVerifier (line 35) | protected CertSignedVerifier(X509Certificate rootCert, X509CRL crl, by... method verify (line 44) | public final void verify() { method verifySigned (line 70) | public abstract void verifySigned(); method verifyCertDate (line 76) | public static void verifyCertDate(X509Certificate subject) { method verifyIssuingSign (line 93) | public static void verifyIssuingSign(X509Certificate subject, X509Cert... method verifyCrlRevoke (line 111) | public static void verifyCrlRevoke(X509Certificate subject, X509CRL cr... method getSubjects (line 118) | public X509Certificate[] getSubjects() { method getInfo (line 122) | public byte[] getInfo() { method getSignedInfo (line 126) | public List getSignedInfo() { method setVerifySigned (line 130) | public void setVerifySigned(boolean verifySigned) { FILE: src/main/java/cn/ponfee/commons/jce/cert/ObjectIdentifiers.java class ObjectIdentifiers (line 17) | public final class ObjectIdentifiers { FILE: src/main/java/cn/ponfee/commons/jce/cert/RepairX500Principal.java class RepairX500Principal (line 22) | public class RepairX500Principal implements Principal { method RepairX500Principal (line 37) | public RepairX500Principal(X500Principal principal) { method getName (line 41) | @Override method preLen (line 97) | private int preLen(int tag) { FILE: src/main/java/cn/ponfee/commons/jce/cert/X509CertGenerator.java class X509CertGenerator (line 37) | @SuppressWarnings({ "restriction" }) method createRootCert (line 41) | public static X509Certificate createRootCert(String issuer, RSASignAlg... method createRootCert (line 57) | public static X509Certificate createRootCert(BigInteger sn, String iss... method createSubjectCert (line 65) | public static X509Certificate createSubjectCert(X509Certificate caCert... method createSubjectCert (line 84) | public static X509Certificate createSubjectCert(X509Certificate caCert... method createSubjectCert (line 92) | public static X509Certificate createSubjectCert(X509Certificate caCert... method createSubjectCert (line 107) | public static X509Certificate createSubjectCert(X509Certificate caCert... method createPkcs10 (line 122) | public static PKCS10 createPkcs10(String subject, PrivateKey privateKey, method createExtensions (line 142) | public static CertificateExtensions createExtensions(boolean isCA) { method createCertInfo (line 191) | private static X509CertInfo createCertInfo(@Nullable BigInteger sn, PK... method selfSign (line 235) | private static X509Certificate selfSign(PrivateKey caKey, X509CertInfo... method caSign (line 254) | private static X509Certificate caSign(X509Certificate caCert, PrivateK... FILE: src/main/java/cn/ponfee/commons/jce/cert/X509CertInfo.java type X509CertInfo (line 33) | public enum X509CertInfo { method X509CertInfo (line 53) | X509CertInfo(String desc) { method X509CertInfo (line 57) | X509CertInfo(String attr, String desc) { method attr (line 62) | public String attr() { method desc (line 66) | public String desc() { FILE: src/main/java/cn/ponfee/commons/jce/cert/X509CertUtils.java class X509CertUtils (line 47) | @SuppressWarnings({ "deprecation" }) method loadPemCert (line 60) | public static X509Certificate loadPemCert(String pem) { method loadX509Cert (line 69) | public static X509Certificate loadX509Cert(byte[] bytes) { method loadX509Cert (line 111) | public static X509Certificate loadX509Cert(InputStream input) throws I... method loadX509Cert (line 121) | public static X509Certificate loadX509Cert(File certFile) throws IOExc... method exportToPem (line 137) | public static String exportToPem(Object obj) { method loadX509Crl (line 155) | public static X509CRL loadX509Crl(byte[] bytes) { method loadX509Crl (line 181) | public static X509CRL loadX509Crl(InputStream is) throws IOException { method loadX509Crl (line 191) | public static X509CRL loadX509Crl(File crlFile) throws IOException { method getX509CrlEntry (line 202) | public static X509CRLEntry getX509CrlEntry(File crlFile, File certFile... method getCertExtVal (line 214) | public static String getCertExtVal(X509Certificate cert, String oid) { method getCertInfo (line 233) | public static String getCertInfo(X509Certificate cert, X509CertInfo in... method parseCertDN (line 288) | private static String parseCertDN(String certDN, X509CertInfo ci) { method parseP7 (line 304) | @SuppressWarnings("unchecked") method isBase64 (line 331) | private static boolean isBase64(InputStream inputstream) throws IOExce... method getTotalBytes (line 364) | private static byte[] getTotalBytes(InputStream input) method base64ToBinary (line 375) | private static byte[] base64ToBinary(InputStream input) throws IOExcep... method readLine (line 407) | private static String readLine(BufferedReader bufferedreader) FILE: src/main/java/cn/ponfee/commons/jce/digest/DigestUtils.java class DigestUtils (line 28) | public final class DigestUtils { method md5 (line 32) | public static byte[] md5(InputStream input) { method md5 (line 36) | public static byte[] md5(byte[] data) { method md5Hex (line 40) | public static String md5Hex(InputStream input) { method md5Hex (line 44) | public static String md5Hex(byte[] data) { method md5Hex (line 48) | public static String md5Hex(String data) { method md5Hex (line 52) | public static String md5Hex(String data, String charset) { method sha1 (line 56) | public static byte[] sha1(InputStream input) { method sha1 (line 60) | public static byte[] sha1(String data) { method sha1 (line 64) | public static byte[] sha1(byte[] data) { method sha1Hex (line 68) | public static String sha1Hex(InputStream input) { method sha1Hex (line 72) | public static String sha1Hex(byte[] data) { method sha1Hex (line 76) | public static String sha1Hex(String data) { method sha1Hex (line 80) | public static String sha1Hex(String data, String charset) { method sha224 (line 84) | public static byte[] sha224(byte[] data) { method sha224Hex (line 88) | public static String sha224Hex(byte[] data) { method sha256 (line 92) | public static byte[] sha256(byte[] data) { method sha256Hex (line 96) | public static String sha256Hex(byte[] data) { method sha256Hex (line 100) | public static String sha256Hex(String data, String charset) { method sha384 (line 104) | public static byte[] sha384(byte[] data) { method sha384Hex (line 108) | public static String sha384Hex(byte[] data) { method sha512 (line 112) | public static byte[] sha512(byte[] input, byte[]... data) { method sha512Hex (line 116) | public static String sha512Hex(byte[] data) { method ripeMD128 (line 121) | public static byte[] ripeMD128(byte[] data) { method ripeMD128Hex (line 125) | public static String ripeMD128Hex(byte[] data) { method ripeMD160 (line 129) | public static byte[] ripeMD160(byte[] data) { method ripeMD160Hex (line 133) | public static String ripeMD160Hex(byte[] data) { method ripeMD256 (line 137) | public static byte[] ripeMD256(byte[] data) { method ripeMD256Hex (line 141) | public static String ripeMD256Hex(byte[] data) { method ripeMD320 (line 145) | public static byte[] ripeMD320(byte[] data) { method ripeMD320Hex (line 149) | public static String ripeMD320Hex(byte[] data) { method getMessageDigest (line 154) | public static MessageDigest getMessageDigest(DigestAlgorithms alg, Pro... method digest (line 164) | public static byte[] digest(DigestAlgorithms alg, byte[] input) { method digest (line 168) | public static byte[] digest(DigestAlgorithms alg, Provider provider, b... method digest (line 174) | public static byte[] digest(DigestAlgorithms alg, byte[] input, byte[]... method digest (line 185) | public static byte[] digest(DigestAlgorithms alg, Provider provider, method digest (line 195) | public static byte[] digest(DigestAlgorithms alg, InputStream input) { method digest (line 206) | public static byte[] digest(DigestAlgorithms alg, Provider provider, FILE: src/main/java/cn/ponfee/commons/jce/digest/HmacUtils.java class HmacUtils (line 42) | public final class HmacUtils { method sha1 (line 46) | public static byte[] sha1(byte[] key, byte[] data) { method sha1 (line 50) | public static byte[] sha1(byte[] key, InputStream data) { method sha1Hex (line 54) | public static String sha1Hex(byte[] key, byte[] data) { method sha1Hex (line 58) | public static String sha1Hex(byte[] key, InputStream data) { method md5 (line 62) | public static byte[] md5(byte[] key, byte[] data) { method md5Hex (line 66) | public static String md5Hex(byte[] key, byte[] data) { method sha224 (line 70) | public static byte[] sha224(byte[] key, byte[] data) { method sha224Hex (line 74) | public static String sha224Hex(byte[] key, byte[] data) { method sha256 (line 78) | public static byte[] sha256(byte[] key, byte[] data) { method sha256Hex (line 82) | public static String sha256Hex(byte[] key, byte[] data) { method sha384 (line 86) | public static byte[] sha384(byte[] key, byte[] data) { method sha384Hex (line 90) | public static String sha384Hex(byte[] key, byte[] data) { method sha512 (line 94) | public static byte[] sha512(byte[] key, byte[] data) { method sha512Hex (line 98) | public static String sha512Hex(byte[] key, byte[] data) { method ripeMD128 (line 102) | public static byte[] ripeMD128(byte[] key, byte[] data) { method ripeMD128Hex (line 106) | public static String ripeMD128Hex(byte[] key, byte[] data) { method ripeMD160 (line 110) | public static byte[] ripeMD160(byte[] key, byte[] data) { method ripeMD160Hex (line 114) | public static String ripeMD160Hex(byte[] key, byte[] data) { method ripeMD256 (line 118) | public static byte[] ripeMD256(byte[] key, byte[] data) { method ripeMD256Hex (line 122) | public static String ripeMD256Hex(byte[] key, byte[] data) { method ripeMD320 (line 126) | public static byte[] ripeMD320(byte[] key, byte[] data) { method ripeMD320Hex (line 130) | public static String ripeMD320Hex(byte[] key, byte[] data) { method getInitializedMac (line 134) | public static Mac getInitializedMac(HmacAlgorithms algorithm, byte[] k... method getInitializedMac (line 138) | public static Mac getInitializedMac(HmacAlgorithms algorithm, method crypt (line 158) | public static byte[] crypt(byte[] key, byte[] data, HmacAlgorithms alg) { method crypt (line 162) | public static byte[] crypt(byte[] key, byte[] data, method crypt (line 167) | public static byte[] crypt(byte[] key, InputStream input, method crypt (line 172) | public static byte[] crypt(byte[] key, InputStream input, FILE: src/main/java/cn/ponfee/commons/jce/implementation/Cryptor.java class Cryptor (line 15) | public abstract class Cryptor { method encrypt (line 17) | public final byte[] encrypt(byte[] original, Key ek) { method encrypt (line 28) | public abstract byte[] encrypt(byte[] original, int length, Key ek); method decrypt (line 36) | public abstract byte[] decrypt(byte[] cipher, Key dk); method generateKey (line 42) | public abstract Key generateKey(); FILE: src/main/java/cn/ponfee/commons/jce/implementation/Key.java type Key (line 19) | public interface Key { method readKey (line 21) | Key readKey(InputStream in) throws IOException; method writeKey (line 23) | void writeKey(OutputStream out) throws IOException; method getPublic (line 25) | Key getPublic(); method isPublic (line 27) | boolean isPublic(); FILE: src/main/java/cn/ponfee/commons/jce/implementation/NoopCryptor.java class NoopCryptor (line 19) | public final class NoopCryptor extends Cryptor { method NoopCryptor (line 23) | private NoopCryptor() {} method encrypt (line 25) | @Override method decrypt (line 30) | @Override method generateKey (line 35) | @Override method toString (line 40) | @Override class NoopKey (line 45) | private static final class NoopKey implements Key { method NoopKey (line 49) | private NoopKey() {} method readKey (line 51) | @Override method writeKey (line 56) | @Override method getPublic (line 59) | @Override method isPublic (line 64) | @Override FILE: src/main/java/cn/ponfee/commons/jce/implementation/digest/RipeMD160Digest.java class RipeMD160Digest (line 16) | public class RipeMD160Digest { method RipeMD160Digest (line 66) | private RipeMD160Digest() { method RipeMD160Digest (line 70) | private RipeMD160Digest(RipeMD160Digest d) { method getInstance (line 77) | public static RipeMD160Digest getInstance() { method getInstance (line 81) | public static RipeMD160Digest getInstance(RipeMD160Digest d) { method reset (line 85) | public void reset() { method update (line 92) | public void update(byte input) { method update (line 105) | public void update(byte[] input) { method update (line 109) | public void update(byte[] input, int offset, int len) { method update (line 116) | public void update(String s) { method doFinal (line 124) | public byte[] doFinal() { method doFinal (line 137) | public byte[] doFinal(byte[] input) { method doFinal (line 142) | public byte[] doFinal(byte[] input, int offset, int len) { method digestBlock (line 148) | private void digestBlock(int[] X) { method finish (line 268) | private void finish(int[] array, int lswlen, int mswlen) { method getDigestSize (line 286) | public static int getDigestSize() { FILE: src/main/java/cn/ponfee/commons/jce/implementation/digest/SHA1Digest.java class SHA1Digest (line 112) | public class SHA1Digest { method SHA1Digest (line 138) | private SHA1Digest() { method SHA1Digest (line 142) | private SHA1Digest(SHA1Digest d) { method getInstance (line 154) | public static SHA1Digest getInstance() { method getInstance (line 158) | public static SHA1Digest getInstance(SHA1Digest d) { method update (line 162) | public void update(byte input) { method update (line 171) | public void update(byte[] input) { method update (line 175) | public void update(byte[] input, int offset, int length) { method doFinal (line 182) | public byte[] doFinal(byte[] data) { method doFinal (line 187) | public byte[] doFinal() { method reset (line 220) | public void reset() { method getDigestSize (line 231) | public static int getDigestSize() { method digestBlock (line 236) | private void digestBlock(byte[] block) { method f0 (line 286) | private static int f0(int b, int c, int d) { method f1 (line 290) | private static int f1(int b, int c, int d) { method f2 (line 294) | private static int f2(int b, int c, int d) { method f3 (line 298) | private static int f3(int b, int c, int d) { FILE: src/main/java/cn/ponfee/commons/jce/implementation/ecc/ECCryptor.java class ECCryptor (line 53) | public class ECCryptor extends Cryptor { method ECCryptor (line 59) | public ECCryptor(EllipticCurve curve) { method encrypt (line 67) | @Override method decrypt (line 107) | @Override method generateKey (line 144) | @Override method toString (line 149) | @Override FILE: src/main/java/cn/ponfee/commons/jce/implementation/ecc/ECKey.java class ECKey (line 21) | public class ECKey implements Key { method ECKey (line 32) | public ECKey(EllipticCurve ec) { method toString (line 48) | @Override method isPublic (line 57) | @Override method writeKey (line 62) | @Override method readKey (line 77) | @Override method getPublic (line 96) | @Override FILE: src/main/java/cn/ponfee/commons/jce/implementation/ecc/ECPoint.java class ECPoint (line 18) | public class ECPoint { method fastCache (line 29) | public void fastCache() { method ECPoint (line 48) | public ECPoint(EllipticCurve curve, BigInteger x, BigInteger y) { method ECPoint (line 63) | public ECPoint(byte[] bytes, EllipticCurve curve) { method ECPoint (line 86) | public ECPoint(EllipticCurve e) { method compress (line 96) | public byte[] compress() { // 只导出x坐标,y坐标可由方程计算得到 method add (line 114) | public ECPoint add(ECPoint q) { method multiply (line 153) | public ECPoint multiply(BigInteger k) { method isZero (line 164) | public boolean isZero() { method getX (line 168) | public BigInteger getX() { method getY (line 172) | public BigInteger getY() { method getCurve (line 176) | public EllipticCurve getCurve() { method toString (line 180) | @Override method isSameCurve (line 185) | private boolean isSameCurve(ECPoint p) { FILE: src/main/java/cn/ponfee/commons/jce/implementation/ecc/EllipticCurve.java class EllipticCurve (line 25) | public class EllipticCurve { method EllipticCurve (line 48) | public EllipticCurve(BigInteger a, BigInteger b, BigInteger p) { method EllipticCurve (line 67) | public EllipticCurve(ECParameters ecp) { method EllipticCurve (line 87) | public EllipticCurve(DataInputStream input) throws IOException { method writeCurve (line 119) | public void writeCurve(DataOutputStream output) throws IOException { method isOnCurve (line 149) | public boolean isOnCurve(ECPoint q) { method getN (line 160) | public BigInteger getN() { method getZero (line 164) | public ECPoint getZero() { method getA (line 168) | public BigInteger getA() { method getB (line 172) | public BigInteger getB() { method getP (line 176) | public BigInteger getP() { method getPCS (line 180) | public int getPCS() { method getBasePointG (line 184) | public ECPoint getBasePointG() { method getPSR2 (line 188) | public BigInteger getPSR2() { method toString (line 195) | @Override method equals (line 204) | @Override method hashCode (line 217) | @Override method isSingular (line 226) | private static boolean isSingular(BigInteger a, BigInteger b, BigInteg... method calculateN (line 237) | private BigInteger calculateN() { method calculateBasePointG (line 245) | private ECPoint calculateBasePointG() { FILE: src/main/java/cn/ponfee/commons/jce/implementation/rsa/AbstractRSACryptor.java class AbstractRSACryptor (line 40) | public abstract class AbstractRSACryptor extends Cryptor { method AbstractRSACryptor (line 44) | public AbstractRSACryptor(boolean isPadding) { method getOriginBlockSize (line 48) | public int getOriginBlockSize(RSAKey rsaKey) { method getCipherBlockSize (line 54) | public int getCipherBlockSize(RSAKey rsaKey) { method encrypt (line 59) | @Override method decrypt (line 94) | @Override method encrypt (line 132) | public void encrypt(InputStream input, Key ek, OutputStream output) { method decrypt (line 161) | public void decrypt(InputStream input, Key dk, OutputStream output) { method getExponent (line 197) | public final BigInteger getExponent(RSAKey rsaKey) { method generateKey (line 205) | @Override method generateKey (line 210) | public final Key generateKey(int keySize) { method toString (line 214) | @Override method fixedByteArray (line 233) | private static void fixedByteArray(byte[] data, int fixedSize, OutputS... method trimByteArray (line 257) | private static void trimByteArray(byte[] data, OutputStream out) method encodeBlock (line 290) | private static byte[] encodeBlock(byte[] input, int from, int to, method decodeBlock (line 334) | private static void decodeBlock(byte[] input, int cipherBlockSize, Out... FILE: src/main/java/cn/ponfee/commons/jce/implementation/rsa/RSAHashCryptor.java class RSAHashCryptor (line 30) | public class RSAHashCryptor extends AbstractRSACryptor { method RSAHashCryptor (line 32) | public RSAHashCryptor() { method encrypt (line 46) | @Override method decrypt (line 75) | @Override method encrypt (line 101) | @Override method decrypt (line 136) | @Override method getOriginBlockSize (line 171) | @Override method getCipherBlockSize (line 176) | @Override FILE: src/main/java/cn/ponfee/commons/jce/implementation/rsa/RSAKey.java class RSAKey (line 57) | @SuppressWarnings("restriction") method RSAKey (line 80) | public RSAKey(int keySize) { method RSAKey (line 84) | public RSAKey(int keySize, int e) { method RSAKey (line 97) | public RSAKey(BigInteger n, BigInteger e, method RSAKey (line 115) | public RSAKey(BigInteger n, BigInteger e) { method isPublic (line 129) | @Override method isSecret (line 134) | public boolean isSecret() { method getPublic (line 141) | @Override method writeKey (line 148) | @Override method readKey (line 169) | @Override method getBigInteger (line 198) | private static BigInteger getBigInteger(DerInputStream derIn) { method generateKey (line 218) | public static KeyPair generateKey(int keySize, int e) { class KeyPair (line 285) | private static class KeyPair { FILE: src/main/java/cn/ponfee/commons/jce/implementation/rsa/RSANoPaddingCryptor.java class RSANoPaddingCryptor (line 16) | public class RSANoPaddingCryptor extends AbstractRSACryptor { method RSANoPaddingCryptor (line 18) | public RSANoPaddingCryptor() { FILE: src/main/java/cn/ponfee/commons/jce/implementation/rsa/RSAPKCS1PaddingCryptor.java class RSAPKCS1PaddingCryptor (line 16) | public class RSAPKCS1PaddingCryptor extends AbstractRSACryptor { method RSAPKCS1PaddingCryptor (line 18) | public RSAPKCS1PaddingCryptor() { method getOriginBlockSize (line 22) | @Override FILE: src/main/java/cn/ponfee/commons/jce/implementation/rsa/RSASigner.java class RSASigner (line 41) | public class RSASigner { method RSASigner (line 70) | public RSASigner(RSAKey rsaKey) { method signSha1 (line 81) | public byte[] signSha1(byte[] data) { method verifySha1 (line 85) | public boolean verifySha1(byte[] data, byte[] signature) { method signSha256 (line 89) | public byte[] signSha256(byte[] data) { method verifySha256 (line 93) | public boolean verifySha256(byte[] data, byte[] signature) { method sign (line 97) | public byte[] sign(byte[] data, DigestAlgorithms alg) { method verify (line 118) | public boolean verify(byte[] data, byte[] signature, DigestAlgorithms ... method derEncode (line 187) | private byte[] derEncode(byte[] hash, ASN1ObjectIdentifier digestOid) FILE: src/main/java/cn/ponfee/commons/jce/implementation/symmetric/RC4.java class RC4 (line 29) | public class RC4 { method RC4 (line 42) | public RC4(byte[] keyBytes) { method encrypt (line 64) | public byte encrypt(byte in) { method decrypt (line 75) | public byte decrypt(byte in) { method encrypt (line 81) | public byte[] encrypt(byte[] in) { method decrypt (line 87) | public byte[] decrypt(byte[] in) { method doCrypt (line 93) | private void doCrypt(byte[] in, int inOff, int len, byte[] out, int ou... FILE: src/main/java/cn/ponfee/commons/jce/passwd/BCrypt.java class BCrypt (line 45) | public final class BCrypt { method BCrypt (line 46) | private BCrypt() {} method create (line 329) | public static String create(String passwd) { method create (line 333) | public static String create(byte[] passwd) { method create (line 337) | public static String create(String passwd, int logrounds) { method create (line 348) | public static String create(byte[] passwd, int logrounds) { method check (line 366) | public static boolean check(String passwd, String hashed) { method check (line 376) | public static boolean check(byte[] passwd, String hashed) { method crypt (line 392) | public static byte[] crypt(byte[] passwd, byte[] salt, int logrounds) { method crypt (line 407) | public static byte[] crypt(byte[] passwd, byte[] salt, int logrounds, ... method ekskey (line 454) | private static void ekskey(int[] P, int[] S, byte[] data, byte[] key) { method streamtoword (line 486) | private static int streamtoword(byte[] data, int[] offp) { method key (line 505) | private static void key(int[] P, int[] S, byte[] key) { method encipher (line 536) | private static void encipher(int[] P, int[] S, int[] lr, int off) { FILE: src/main/java/cn/ponfee/commons/jce/passwd/Crypt.java class Crypt (line 30) | public class Crypt { method create (line 34) | public static String create(String passwd) { method create (line 46) | public static String create(HmacAlgorithms alg, String passwd, method check (line 62) | public static boolean check(String passwd, String hashed) { method check (line 73) | public static boolean check(String passwd, String hashed, Provider pro... method crypt (line 97) | private static byte[] crypt(HmacAlgorithms alg, byte[] password, FILE: src/main/java/cn/ponfee/commons/jce/passwd/PBKDF2.java class PBKDF2 (line 29) | public final class PBKDF2 { method PBKDF2 (line 30) | private PBKDF2() {} method create (line 39) | public static String create(String password) { method create (line 43) | public static String create(HmacAlgorithms alg, String password) { method create (line 55) | public static String create(HmacAlgorithms alg, char[] password) { method create (line 68) | public static String create(HmacAlgorithms alg, char[] password, int s... method check (line 95) | public static boolean check(String password, String correctHash) { method check (line 105) | public static boolean check(char[] password, String correctHash) { method pbkdf2 (line 136) | public static byte[] pbkdf2(HmacAlgorithms alg, char[] password, byte[... FILE: src/main/java/cn/ponfee/commons/jce/passwd/SCrypt.java class SCrypt (line 32) | public final class SCrypt { method SCrypt (line 33) | private SCrypt() {} method create (line 38) | public static String create(String passwd, int N, int r, int p) { method create (line 54) | public static String create(HmacAlgorithms alg, String passwd, method check (line 79) | public static boolean check(String passwd, String hashed) { method pbkdf2 (line 112) | public static byte[] pbkdf2(HmacAlgorithms alg, byte[] P, method scrypt (line 171) | public static byte[] scrypt(HmacAlgorithms alg, byte[] P, byte[] S, method smix (line 193) | private static void smix(byte[] B, int Bi, int r, int N, byte[] V, byt... method blockmix_salsa8 (line 212) | private static void blockmix_salsa8(byte[] BY, int Bi, int Yi, int r) { method R (line 234) | private static int R(int a, int b) { method salsa20_8 (line 238) | private static void salsa20_8(byte[] B) { method blockxor (line 298) | private static void blockxor(byte[] S, int Si, byte[] D, int Di, int l... method integerify (line 304) | private static int integerify(byte[] B, int Bi, int r) { FILE: src/main/java/cn/ponfee/commons/jce/pkcs/CryptoMessageSyntax.java class CryptoMessageSyntax (line 41) | public final class CryptoMessageSyntax { method sign (line 51) | public static byte[] sign(byte[] data, PrivateKey key, X509Certificate... method sign (line 62) | public static byte[] sign(byte[] data, List keys, List initPartAKey() { method initPartAKey (line 64) | public static Pair initPartAKey(int keySize) { method initPartBKey (line 80) | public static Pair initPartBKey(byte[] part... method initPartBKey (line 90) | public static Pair initPartBKey(DHPublicKey... method encode (line 112) | public static byte[] encode(DHPublicKey key) { method encode (line 121) | public static byte[] encode(DHPrivateKey key) { method decodePrivateKey (line 131) | public static DHPrivateKey decodePrivateKey(byte[] privateKey) { method decodePublicKey (line 146) | public static DHPublicKey decodePublicKey(byte[] publicKey) { method genSecretKey (line 162) | public static SecretKey genSecretKey(byte[] bPriKey, byte[] aPubKey) { method genSecretKey (line 172) | public static SecretKey genSecretKey(DHPrivateKey bPriKey, DHPublicKey... method encrypt (line 190) | public static byte[] encrypt(byte[] data, SecretKey secretKey) { method decrypt (line 206) | public static byte[] decrypt(byte[] data, SecretKey secretKey) { FILE: src/main/java/cn/ponfee/commons/jce/security/DSASigner.java class DSASigner (line 31) | public final class DSASigner { method initKey (line 39) | public static Pair initKey() { method initKey (line 50) | public static Pair initKey(String seed, i... method decodePrivateKey (line 62) | public static DSAPrivateKey decodePrivateKey(byte[] privateKey) { method decodePublicKey (line 71) | public static DSAPublicKey decodePublicKey(byte[] publicKey) { method sign (line 86) | public static byte[] sign(byte[] data, byte[] privateKey) { method sign (line 90) | public static byte[] sign(byte[] data, DSAPrivateKey privateKey) { method verify (line 109) | public static boolean verify(byte[] origin, byte[] publicKey, byte[] s... method verify (line 113) | public static boolean verify(byte[] origin, DSAPublicKey publicKey, by... FILE: src/main/java/cn/ponfee/commons/jce/security/ECDHKeyExchanger.java class ECDHKeyExchanger (line 32) | public final class ECDHKeyExchanger { method initPartAKey (line 36) | public static Pair initPartAKey() { method initPartAKey (line 46) | public static Pair initPartAKey(int keySize) { method initPartBKey (line 56) | public static Pair initPartBKey(byte[] part... method initPartBKey (line 65) | public static Pair initPartBKey(ECPublicKey... method encode (line 86) | public static byte[] encode(ECPublicKey key) { method encode (line 95) | public static byte[] encode(ECPrivateKey key) { method decodePrivateKey (line 104) | public static ECPrivateKey decodePrivateKey(byte[] privateKey) { method decodePublicKey (line 119) | public static ECPublicKey decodePublicKey(byte[] publicKey) { method genSecretKey (line 135) | public static SecretKey genSecretKey(byte[] bPriKey, byte[] aPubKey) { method genSecretKey (line 145) | public static SecretKey genSecretKey(ECPrivateKey bPriKey, ECPublicKey... method encrypt (line 163) | public static byte[] encrypt(byte[] data, SecretKey secretKey) { method decrypt (line 179) | public static byte[] decrypt(byte[] data, SecretKey secretKey) { FILE: src/main/java/cn/ponfee/commons/jce/security/ECDSASigner.java class ECDSASigner (line 28) | public final class ECDSASigner { type ECDSASignAlgorithms (line 30) | public enum ECDSASignAlgorithms { method generateKeyPair (line 37) | public static Pair generateKeyPair() { method generateKeyPair (line 46) | public static Pair generateKeyPair(int keyS... method encode (line 60) | public static byte[] encode(ECPublicKey key) { method encode (line 69) | public static byte[] encode(ECPrivateKey key) { method decodePublicKey (line 78) | public static ECPublicKey decodePublicKey(byte[] publicKey) { method decodePrivateKey (line 92) | public static ECPrivateKey decodePrivateKey(byte[] privateKey) { method signSha1 (line 101) | public static byte[] signSha1(byte[] data, ECPrivateKey privateKey) { method verifySha1 (line 105) | public static boolean verifySha1(byte[] data, byte[] signed, ECPublicK... method signSha256 (line 109) | public static byte[] signSha256(byte[] data, ECPrivateKey privateKey) { method verifySha256 (line 113) | public static boolean verifySha256(byte[] data, byte[] signed, ECPubli... method signSha512 (line 117) | public static byte[] signSha512(byte[] data, ECPrivateKey privateKey) { method verifySha512 (line 121) | public static boolean verifySha512(byte[] data, byte[] signed, ECPubli... method sign (line 125) | private static byte[] sign(byte[] data, ECPrivateKey privateKey, method verify (line 137) | private static boolean verify(byte[] data, byte[] signed, ECPublicKey ... FILE: src/main/java/cn/ponfee/commons/jce/security/KeyStoreResolver.java class KeyStoreResolver (line 36) | public class KeyStoreResolver { type KeyStoreType (line 41) | public enum KeyStoreType { method KeyStoreResolver (line 47) | public KeyStoreResolver(KeyStoreType type) { method KeyStoreResolver (line 51) | public KeyStoreResolver(KeyStoreType type, String storePassword) { method KeyStoreResolver (line 55) | public KeyStoreResolver(KeyStoreType type, byte[] keyStore, String sto... method KeyStoreResolver (line 65) | public KeyStoreResolver(KeyStoreType type, InputStream input, String s... method setCertificateEntry (line 79) | public void setCertificateEntry(String alias, Certificate cert) { method setKeyEntry (line 95) | public final void setKeyEntry(String alias, PrivateKey key, method setKeyEntry (line 113) | public final void setKeyEntry(String alias, byte[] encryptedPkcs8Key, method export (line 123) | public byte[] export(String storePassword) { method export (line 134) | public void export(OutputStream out, String storePassword) { method listAlias (line 147) | public List listAlias() { method delAlias (line 160) | public void delAlias(String alias) { method getFirstAlias (line 170) | public String getFirstAlias() { method getCertificate (line 178) | public Certificate getCertificate() { method getCertificate (line 188) | public Certificate getCertificate(String alias) { method getPrivateKey (line 199) | public PrivateKey getPrivateKey(String keyPassword) { method getPrivateKey (line 209) | public PrivateKey getPrivateKey(String alias, String keyPassword) { method getX509CertChain (line 222) | public X509Certificate[] getX509CertChain() { method getX509CertChain (line 231) | public X509Certificate[] getX509CertChain(String alias) { method getSSLContext (line 247) | public SSLContext getSSLContext(String keyPassword) { method getSSLContext (line 257) | public SSLContext getSSLContext(String keyPassword, KeyStore trustStor... method getKeyStore (line 278) | public KeyStore getKeyStore() { method loadFromPem (line 282) | public static KeyStoreResolver loadFromPem(String pem) { method checkAliasNotExists (line 289) | private void checkAliasNotExists(String alias) throws KeyStoreException { method toCharArray (line 295) | private static char[] toCharArray(String str) { FILE: src/main/java/cn/ponfee/commons/jce/security/RSACryptor.java class RSACryptor (line 41) | public final class RSACryptor { method RSACryptor (line 42) | private RSACryptor() {} method generateKeyPair (line 46) | public static RSAKeyPair generateKeyPair() { method generateKeyPair (line 56) | public static RSAKeyPair generateKeyPair(int keySize) { method signMd5 (line 72) | public static byte[] signMd5(byte[] data, RSAPrivateKey privateKey) { method signSha1 (line 82) | public static byte[] signSha1(byte[] data, RSAPrivateKey privateKey) { method signSha256 (line 92) | public static byte[] signSha256(byte[] data, RSAPrivateKey privateKey) { method verifyMd5 (line 103) | public static boolean verifyMd5(byte[] data, RSAPublicKey publicKey, b... method verifySha1 (line 114) | public static boolean verifySha1(byte[] data, RSAPublicKey publicKey, ... method verifySha256 (line 125) | public static boolean verifySha256(byte[] data, RSAPublicKey publicKey... method encrypt (line 147) | public static byte[] encrypt(byte[] data, T k... method encryptNoPadding (line 151) | public static byte[] encryptNoPadding(byte[] ... method encrypt (line 155) | public static void encrypt(InputStream input,... method encryptNoPadding (line 160) | public static void encryptNoPadding(InputStre... method decrypt (line 171) | public static byte[] decrypt(byte[] encrypted... method decryptNoPadding (line 175) | public static byte[] decryptNoPadding(byte[] ... method decrypt (line 179) | public static void decrypt(InputStream input,... method decryptNoPadding (line 184) | public static void decryptNoPadding(InputStre... method getBlockSize (line 190) | private static int getBlockSize(int cryptMode... method docrypt (line 196) | private static void docrypt(InputStream input... method docrypt (line 230) | private static byte[] docrypt(byte[] data, T ... method sign (line 259) | private static byte[] sign(byte[] data, RSAPrivateKey privateKey, RSAS... method verify (line 278) | private static boolean verify(byte[] data, RSAPublicKey publicKey, class RSAKeyPair (line 294) | public static final class RSAKeyPair implements Serializable { method RSAKeyPair (line 299) | private RSAKeyPair(RSAPrivateKey privateKey, RSAPublicKey publicKey) { method getPrivateKey (line 304) | public RSAPrivateKey getPrivateKey() { method getPublicKey (line 308) | public RSAPublicKey getPublicKey() { method toPkcs8PrivateKey (line 312) | public String toPkcs8PrivateKey() { method toPkcs1PrivateKey (line 316) | public String toPkcs1PrivateKey() { method toPkcs8PublicKey (line 320) | public String toPkcs8PublicKey() { method toPkcs1PublicKey (line 324) | public String toPkcs1PublicKey() { FILE: src/main/java/cn/ponfee/commons/jce/security/RSAPrivateKeys.java class RSAPrivateKeys (line 75) | public final class RSAPrivateKeys { method RSAPrivateKeys (line 76) | private RSAPrivateKeys() {} method toRSAPrivateKey (line 85) | public static RSAPrivateKey toRSAPrivateKey(BigInteger modulus, BigInt... method inverse (line 102) | public static RSAPublicKey inverse(RSAPrivateKey privateKey) { method extractPublicKey (line 115) | public static RSAPublicKey extractPublicKey(RSAPrivateKey privateKey) { method toPkcs1 (line 132) | public static String toPkcs1(RSAPrivateKey privateKey) { method fromPkcs1 (line 148) | public static RSAPrivateKey fromPkcs1(String pkcs1PrivateKey) { method toPkcs1Pem (line 190) | public static String toPkcs1Pem(RSAPrivateKey privateKey) { method fromPkcs1Pem (line 199) | public static RSAPrivateKey fromPkcs1Pem(String pemPrivateKey) { method toPkcs8 (line 220) | public static String toPkcs8(RSAPrivateKey privateKey) { method fromPkcs8 (line 229) | public static RSAPrivateKey fromPkcs8(String pkcs8PrivateKey) { method toEncryptedPkcs8Pem (line 265) | public static String toEncryptedPkcs8Pem(RSAPrivateKey privateKey, method toEncryptedPkcs8Pem (line 288) | public static String toEncryptedPkcs8Pem(RSAPrivateKey privateKey, Str... method toEncryptedPkcs8 (line 306) | public static String toEncryptedPkcs8(RSAPrivateKey privateKey, String... method toEncryptedPkcs8 (line 324) | public static String toEncryptedPkcs8(RSAPrivateKey privateKey, Output... method fromEncryptedPkcs8Pem (line 342) | public static RSAPrivateKey fromEncryptedPkcs8Pem(String encryptedPem, method fromEncryptedPkcs8Pem (line 364) | public static RSAPrivateKey fromEncryptedPkcs8Pem(String encryptedPem,... method fromEncryptedPkcs8 (line 369) | public static RSAPrivateKey fromEncryptedPkcs8(String encryptedPrivate... method fromEncryptedPkcs8 (line 380) | public static RSAPrivateKey fromEncryptedPkcs8(byte[] encryptedPrivate... method fromEncryptedPkcs8 (line 385) | public static RSAPrivateKey fromEncryptedPkcs8(String encryptedPrivate... method fromEncryptedPkcs8 (line 397) | public static RSAPrivateKey fromEncryptedPkcs8(byte[] encryptedPrivate... FILE: src/main/java/cn/ponfee/commons/jce/security/RSAPublicKeys.java class RSAPublicKeys (line 39) | public final class RSAPublicKeys { method RSAPublicKeys (line 40) | private RSAPublicKeys() {} method toRSAPublicKey (line 49) | public static RSAPublicKey toRSAPublicKey(BigInteger modulus, BigInteg... method getPublicKey (line 64) | public static RSAPublicKey getPublicKey(Certificate cert) { method inverse (line 75) | public static RSAPrivateKey inverse(RSAPublicKey publicKey) { method toPkcs1 (line 93) | public static String toPkcs1(RSAPublicKey publicKey) { method fromPkcs1 (line 107) | public static RSAPublicKey fromPkcs1(String pkcs1PublicKey) { method toPkcs8 (line 128) | public static String toPkcs8(RSAPublicKey publicKey) { method fromPkcs8 (line 137) | public static RSAPublicKey fromPkcs8(String pkcs8PublicKey) { method toPkcs8Pem (line 164) | public static String toPkcs8Pem(RSAPublicKey publicKey) { method fromPkcs8Pem (line 173) | public static RSAPublicKey fromPkcs8Pem(String pemPublicKey) { method getKeyLength (line 192) | public static int getKeyLength(RSAKey rsaKey) { FILE: src/main/java/cn/ponfee/commons/jce/sm/SM2.java class SM2 (line 39) | public final class SM2 { method SM2 (line 53) | private SM2(ECPoint publicKey, BigInteger privateKey, BigInteger n) { method reset (line 71) | private void reset() { method nextKey (line 83) | private void nextKey() { method encrypt (line 91) | private void encrypt(byte[] data) { method decrypt (line 102) | private void decrypt(byte[] data) { method doFinal (line 113) | private byte[] doFinal() { method generateKeyPair (line 120) | public static Map generateKeyPair() { method generateKeyPair (line 130) | public static Map generateKeyPair(ECParameters ecParam) { method getPublicKey (line 142) | public static byte[] getPublicKey(Map keyMap) { method getPrivateKey (line 146) | public static byte[] getPrivateKey(Map keyMap) { method getPublicKey (line 150) | public static ECPoint getPublicKey(byte[] publicKey) { method getPublicKey (line 154) | public static ECPoint getPublicKey(ECParameters ecParam, byte[] public... method getPrivateKey (line 158) | public static BigInteger getPrivateKey(byte[] privateKey) { method encrypt (line 162) | public static byte[] encrypt(byte[] publicKey, byte[] data) { method encrypt (line 173) | public static byte[] encrypt(ECParameters ecParam, byte[] publicKey, b... method decrypt (line 196) | public static byte[] decrypt(byte[] privateKey, byte[] encrypted) { method decrypt (line 207) | public static byte[] decrypt(ECParameters ecParam, method sign (line 236) | public static byte[] sign(byte[] data, byte[] publicKey, method sign (line 241) | public static byte[] sign(byte[] data, byte[] ida, method sign (line 246) | public static byte[] sign(ECParameters ecParam, byte[] data, method sign (line 260) | public static byte[] sign(ECParameters ecParam, byte[] data, byte[] ida, method verify (line 284) | public static boolean verify(byte[] data, byte[] signed, byte[] public... method verify (line 288) | public static boolean verify(byte[] data, byte[] ida, method verify (line 293) | public static boolean verify(ECParameters ecParam, byte[] data, method verify (line 307) | public static boolean verify(ECParameters ecParam, byte[] data, byte[]... method checkPublicKey (line 334) | public static boolean checkPublicKey(byte[] publicKey) { method checkPublicKey (line 338) | public static boolean checkPublicKey(ECParameters ecParam, byte[] publ... method checkPublicKey (line 342) | public static boolean checkPublicKey(ECPoint publicKey) { method checkPublicKey (line 346) | public static boolean checkPublicKey(ECParameters ecParam, ECPoint pub... method calcZ (line 366) | static byte[] calcZ(SM3Digest sm3, ECParameters ecParam, ECPoint pubKe... method calcZ (line 377) | static byte[] calcZ(SM3Digest sm3, ECParameters ecParam, byte[] ida, E... method isNotBetween (line 402) | private static boolean isNotBetween(BigInteger number, BigInteger min,... class Signature (line 409) | private static class Signature implements java.io.Serializable { method Signature (line 416) | Signature(BigInteger r, BigInteger s, BigInteger n) { method Signature (line 422) | Signature(byte[] signed, BigInteger n) { method toByteArray (line 429) | byte[] toByteArray() { method toString (line 439) | @Override FILE: src/main/java/cn/ponfee/commons/jce/sm/SM2KeyExchanger.java class SM2KeyExchanger (line 29) | public class SM2KeyExchanger implements Serializable { method SM2KeyExchanger (line 45) | public SM2KeyExchanger(ECPoint publicKey, BigInteger privateKey) { method SM2KeyExchanger (line 49) | public SM2KeyExchanger(byte[] ida, ECPoint publicKey, BigInteger priva... method SM2KeyExchanger (line 53) | public SM2KeyExchanger(ECPoint publicKey, BigInteger privateKey, method SM2KeyExchanger (line 58) | public SM2KeyExchanger(byte[] ida, ECPoint publicKey, BigInteger priva... method step1PartA (line 71) | public TransportEntity step1PartA() { method step2PartB (line 82) | public TransportEntity step2PartB(TransportEntity entity1) { method step3PartA (line 125) | public TransportEntity step3PartA(TransportEntity entity2) { method step4PartB (line 171) | public boolean step4PartB(TransportEntity entity3) { method getKey (line 186) | public byte[] getKey() { class TransportEntity (line 193) | public static class TransportEntity implements Serializable { method TransportEntity (line 201) | TransportEntity(byte[] r, byte[] s, byte[] z, ECPoint pKey) { method TransportEntity (line 205) | TransportEntity(byte[] r, byte[] s, byte[] z, byte[] publicKey) { method getR (line 212) | public byte[] getR() { method getS (line 216) | public byte[] getS() { method getZ (line 220) | public byte[] getZ() { method getK (line 224) | public byte[] getK() { method digest (line 238) | private static byte[] digest(SM3Digest sm3, byte[] x, byte[] z1, method kdf (line 257) | private static byte[] kdf(byte[] Z, int klen) { FILE: src/main/java/cn/ponfee/commons/jce/sm/SM3Digest.java class SM3Digest (line 20) | public class SM3Digest { method SM3Digest (line 37) | private SM3Digest() { method SM3Digest (line 41) | private SM3Digest(SM3Digest t) { method getInstance (line 48) | public static SM3Digest getInstance() { method getInstance (line 52) | public static SM3Digest getInstance(SM3Digest t) { method update (line 56) | public void update(byte[] in) { method update (line 66) | public void update(byte[] input, int inputOffset, int len) { method update (line 86) | public void update(byte in) { method doFinal (line 95) | public void doFinal(byte[] out, int outOffset) { method doFinal (line 100) | public byte[] doFinal(byte[] in) { method doFinal (line 105) | public byte[] doFinal() { method reset (line 119) | public void reset() { method getDigestSize (line 125) | public static int getDigestSize() { method doUpdate (line 129) | private void doUpdate() { method doHash (line 138) | private void doHash(byte[] B) { class SM3 (line 144) | private static class SM3 { method cf (line 166) | static byte[] cf(byte[] V, byte[] B) { method padding (line 176) | static byte[] padding(byte[] in, int bLen) { method convert (line 196) | static int[] convert(byte[] arr) { method convert (line 206) | static byte[] convert(int[] arr) { method cf (line 216) | static int[] cf(int[] V, int[] B) { method expand (line 253) | static int[][] expand(int[] B) { method bigEndianIntToByte (line 273) | static byte[] bigEndianIntToByte(int num) { method bigEndianByteToInt (line 277) | static int bigEndianByteToInt(byte[] bytes) { method FFj (line 281) | static int FFj(int X, int Y, int Z, int j) { method GGj (line 289) | static int GGj(int X, int Y, int Z, int j) { method FF1j (line 298) | static int FF1j(int X, int Y, int Z) { method FF2j (line 302) | static int FF2j(int X, int Y, int Z) { method GG1j (line 306) | static int GG1j(int X, int Y, int Z) { method GG2j (line 310) | static int GG2j(int X, int Y, int Z) { method P0 (line 314) | static int P0(int X) { method P1 (line 318) | static int P1(int X) { method back (line 328) | static byte[] back(byte[] in) { method bitCycleLeft (line 336) | static int bitCycleLeft(int n, int bitLen) { method bitSmall8CycleLeft (line 350) | static byte[] bitSmall8CycleLeft(byte[] in, int len) { method byteCycleLeft (line 362) | static byte[] byteCycleLeft(byte[] in, int byteLen) { method intToByteArray (line 374) | static byte[] intToByteArray(int num) { method byteArrayToInt (line 386) | static int byteArrayToInt(byte[] bytes) { method longToByteArray (line 398) | static byte[] longToByteArray(long value) { FILE: src/main/java/cn/ponfee/commons/jce/sm/SM4.java class SM4 (line 26) | public final class SM4 { method SM4 (line 27) | private SM4(){} method encrypt (line 94) | public static byte[] encrypt(byte[] key, byte[] input) { method encrypt (line 98) | public static byte[] encrypt(boolean isPadding, method decrypt (line 103) | public static byte[] decrypt(byte[] key, byte[] input) { method decrypt (line 107) | public static byte[] decrypt(boolean isPadding, method encrypt (line 112) | public static byte[] encrypt(byte[] key, byte[] iv, byte[] input) { method encrypt (line 116) | public static byte[] encrypt(boolean isPadding, byte[] key, method decrypt (line 121) | public static byte[] decrypt(byte[] key, byte[] iv, byte[] input) { method decrypt (line 125) | public static byte[] decrypt(boolean isPadding, byte[] key, method crypt (line 139) | private static byte[] crypt(int mode, boolean isPadding, method crypt (line 176) | private static byte[] crypt(int mode, boolean isPadding, byte[] key, method toLong (line 233) | private static long toLong(byte[] bytes, int offset) { method toByteArray (line 241) | private static void toByteArray(long n, byte[] bytes, int offset) { method rotateLeft (line 254) | private static long rotateLeft(long x, int n) { method swap (line 259) | private static void swap(long[] sk, int i) { method sm4Sbox (line 266) | private static byte sm4Sbox(byte inch) { method sm4Lt (line 270) | private static long sm4Lt(long ka) { method sm4F (line 285) | private static long sm4F(long x0, long x1, long x2, long x3, long rk) { method sm4CalciRK (line 289) | private static long sm4CalciRK(long ka) { method setKey (line 301) | private static long[] setKey(int mode, @Nonnull byte[] key) { method oneRound (line 335) | private static void oneRound(long[] sk, byte[] input, byte[] output) { method padding (line 354) | private static byte[] padding(byte[] input, int mode) { FILE: src/main/java/cn/ponfee/commons/jce/symmetric/Algorithm.java type Algorithm (line 48) | public enum Algorithm { FILE: src/main/java/cn/ponfee/commons/jce/symmetric/Mode.java type Mode (line 28) | public enum Mode { FILE: src/main/java/cn/ponfee/commons/jce/symmetric/PBECryptor.java class PBECryptor (line 40) | public class PBECryptor extends SymmetricCryptor { type PBEAlgorithm (line 42) | public enum PBEAlgorithm { method PBECryptor (line 49) | public PBECryptor(SecretKey secretKey, Mode mode, Padding padding, method getPass (line 56) | public char[] getPass() { method getSalt (line 60) | public byte[] getSalt() { method getIterations (line 64) | public int getIterations() { method getParameterAsBytes (line 68) | @Override FILE: src/main/java/cn/ponfee/commons/jce/symmetric/PBECryptorBuilder.java class PBECryptorBuilder (line 28) | public class PBECryptorBuilder { method PBECryptorBuilder (line 39) | private PBECryptorBuilder(PBEAlgorithm algorithm, char[] pass, Provide... method newBuilder (line 50) | public static PBECryptorBuilder newBuilder(PBEAlgorithm algorithm) { method newBuilder (line 54) | public static PBECryptorBuilder newBuilder(PBEAlgorithm algorithm, int... method newBuilder (line 58) | public static PBECryptorBuilder newBuilder(PBEAlgorithm algorithm, cha... method newBuilder (line 62) | public static PBECryptorBuilder newBuilder(PBEAlgorithm algorithm, cha... method mode (line 66) | public PBECryptorBuilder mode(Mode mode) { method padding (line 71) | public PBECryptorBuilder padding(Padding padding) { method parameter (line 76) | public PBECryptorBuilder parameter(byte[] salt, method build (line 82) | public PBECryptor build() { FILE: src/main/java/cn/ponfee/commons/jce/symmetric/Padding.java type Padding (line 19) | public enum Padding { method Padding (line 32) | Padding() { method Padding (line 36) | Padding(String padding) { method padding (line 40) | public String padding() { FILE: src/main/java/cn/ponfee/commons/jce/symmetric/SymmetricCryptor.java class SymmetricCryptor (line 47) | public class SymmetricCryptor { method SymmetricCryptor (line 78) | protected SymmetricCryptor(SecretKey secretKey, Mode mode, Padding pad... method encrypt (line 95) | public final byte[] encrypt(byte[] data) { method decrypt (line 99) | public final byte[] decrypt(byte[] encrypted) { method docrypt (line 109) | private byte[] docrypt(byte[] bytes, int cryptMode) { method getAlgorithm (line 125) | public final String getAlgorithm() { method getKey (line 134) | public final byte[] getKey() { method getKeyAsBase64 (line 138) | public final String getKeyAsBase64() { method getParameterAsBytes (line 147) | public byte[] getParameterAsBytes() { method getParameterAsBase64 (line 151) | public final String getParameterAsBase64() { method getMode (line 155) | public final Mode getMode() { method getPadding (line 159) | public final Padding getPadding() { method getProvider (line 163) | public final Provider getProvider() { FILE: src/main/java/cn/ponfee/commons/jce/symmetric/SymmetricCryptorBuilder.java class SymmetricCryptorBuilder (line 25) | public final class SymmetricCryptorBuilder { method SymmetricCryptorBuilder (line 37) | private SymmetricCryptorBuilder(Algorithm alg, byte[] key, Provider pr... method newBuilder (line 47) | public static SymmetricCryptorBuilder newBuilder(Algorithm algorithm) { method newBuilder (line 51) | public static SymmetricCryptorBuilder newBuilder(Algorithm algorithm, ... method newBuilder (line 55) | public static SymmetricCryptorBuilder newBuilder(Algorithm algorithm, ... method newBuilder (line 59) | public static SymmetricCryptorBuilder newBuilder(Algorithm algorithm, ... method newBuilder (line 63) | public static SymmetricCryptorBuilder newBuilder(Algorithm algorithm, ... method newBuilder (line 67) | public static SymmetricCryptorBuilder newBuilder(Algorithm algorithm, ... method mode (line 71) | public SymmetricCryptorBuilder mode(Mode mode) { method padding (line 76) | public SymmetricCryptorBuilder padding(Padding padding) { method parameter (line 81) | public SymmetricCryptorBuilder parameter(byte[] parameter) { method build (line 86) | public SymmetricCryptor build() { FILE: src/main/java/cn/ponfee/commons/json/FastjsonMoney.java class FastjsonMoney (line 29) | public class FastjsonMoney implements ObjectSerializer, ObjectDeserializ... method write (line 34) | @Override method deserialze (line 49) | @Override method getFastMatchToken (line 60) | @Override FILE: src/main/java/cn/ponfee/commons/json/FastjsonPropertyFilter.java class FastjsonPropertyFilter (line 33) | public class FastjsonPropertyFilter implements PropertyFilter { method FastjsonPropertyFilter (line 39) | public FastjsonPropertyFilter(@Nonnull PropertyFilterType type, boolea... method apply (line 45) | @Override method exclude (line 59) | public static FastjsonPropertyFilter exclude(@Nonnull String... fields) { method exclude (line 63) | public static FastjsonPropertyFilter exclude(boolean forceNonNull, @No... method include (line 67) | public static FastjsonPropertyFilter include(@Nonnull String... fields) { method include (line 71) | public static FastjsonPropertyFilter include(boolean forceNonNull, @No... type PropertyFilterType (line 75) | private enum PropertyFilterType { FILE: src/main/java/cn/ponfee/commons/json/FastjsonTypeReferences.java class FastjsonTypeReferences (line 24) | public final class FastjsonTypeReferences { FILE: src/main/java/cn/ponfee/commons/json/JacksonCurrencyUnit.java class JacksonCurrencyUnit (line 28) | public class JacksonCurrencyUnit { method JacksonCurrencyUnit (line 35) | private JacksonCurrencyUnit() { method serializer (line 40) | public JsonSerializer serializer() { method deserializer (line 44) | public JsonDeserializer deserializer() { class Serializer (line 48) | private static class Serializer extends JsonSerializer { method serialize (line 49) | @Override class Deserializer (line 59) | private static class Deserializer extends JsonDeserializer serializer() { method deserializer (line 46) | public JsonDeserializer deserializer() { class Serializer (line 50) | private static class Serializer extends JsonSerializer { method Serializer (line 53) | private Serializer(DateFormat format) { method serialize (line 57) | @Override class Deserializer (line 67) | private static class Deserializer extends JsonDeserializer { method Deserializer (line 70) | private Deserializer(DateFormat format) { method deserialize (line 74) | @Override FILE: src/main/java/cn/ponfee/commons/json/JacksonMoney.java class JacksonMoney (line 30) | public class JacksonMoney { method JacksonMoney (line 40) | private JacksonMoney() { method serializer (line 45) | public JsonSerializer serializer() { method deserializer (line 49) | public JsonDeserializer deserializer() { class Serializer (line 53) | private static class Serializer extends JsonSerializer { method serialize (line 54) | @Override class Deserializer (line 68) | private static class Deserializer extends JsonDeserializer { method deserialize (line 69) | @Override FILE: src/main/java/cn/ponfee/commons/json/JacksonTypeReferences.java class JacksonTypeReferences (line 22) | public final class JacksonTypeReferences { FILE: src/main/java/cn/ponfee/commons/json/Jsons.java class Jsons (line 47) | @ThreadSafe method Jsons (line 67) | private Jsons(JsonInclude.Include include) { method write (line 79) | public void write(OutputStream output, Object target) { method string (line 93) | public String string(Object target) { method bytes (line 107) | public byte[] bytes(Object target) { method parse (line 127) | public T parse(String json, JavaType javaType) { method parse (line 145) | public T parse(byte[] json, JavaType javaType) { method parse (line 156) | public T parse(String json, Class target) { method parse (line 160) | public T parse(byte[] json, Class target) { method parse (line 164) | public T parse(String json, Type type) { method parse (line 168) | public T parse(byte[] json, Type type) { method parse (line 172) | public T parse(String json, TypeReference type) { method parse (line 176) | public T parse(byte[] json, TypeReference type) { method toJson (line 181) | public static String toJson(Object target) { method toBytes (line 185) | public static byte[] toBytes(Object target) { method parseArray (line 189) | public static Object[] parseArray(String body, Class... types) { method parseMethodArgs (line 210) | public static Object[] parseMethodArgs(String body, Method method) { method fromJson (line 256) | public static T fromJson(String json, JavaType javaType) { method fromJson (line 260) | public static T fromJson(byte[] json, JavaType javaType) { method fromJson (line 264) | public static T fromJson(String json, Class target) { method fromJson (line 268) | public static T fromJson(byte[] json, Class target) { method fromJson (line 272) | public static T fromJson(String json, Type target) { method fromJson (line 276) | public static T fromJson(byte[] json, Type target) { method fromJson (line 280) | public static T fromJson(String json, TypeReference type) { method fromJson (line 284) | public static T fromJson(byte[] json, TypeReference type) { method createObjectMapper (line 288) | public static ObjectMapper createObjectMapper(JsonInclude.Include incl... method configObjectMapper (line 301) | public static void configObjectMapper(ObjectMapper mapper) { method readTree (line 342) | private static JsonNode readTree(ObjectMapper mapper, String body) { method parse (line 350) | private static Object parse(ObjectMapper mapper, JsonNode jsonNode, Ty... FILE: src/main/java/cn/ponfee/commons/limit/current/CurrentLimiter.java type CurrentLimiter (line 20) | public interface CurrentLimiter { method checkpoint (line 27) | boolean checkpoint(String key); method checkpoint (line 35) | boolean checkpoint(String key, long requestThreshold); method countByRange (line 44) | long countByRange(String key, Date from, Date to); method setRequestThreshold (line 52) | void setRequestThreshold(String key, long threshold); method getRequestThreshold (line 59) | long getRequestThreshold(String key); FILE: src/main/java/cn/ponfee/commons/limit/current/GuavaCurrentLimiter.java class GuavaCurrentLimiter (line 23) | public class GuavaCurrentLimiter implements CurrentLimiter { method checkpoint (line 27) | @Override method checkpoint (line 33) | @Override method countByRange (line 53) | @Override method setRequestThreshold (line 58) | @Override method getRequestThreshold (line 67) | @Override FILE: src/main/java/cn/ponfee/commons/limit/request/ConcurrentMapRequestLimiter.java class ConcurrentMapRequestLimiter (line 28) | public final class ConcurrentMapRequestLimiter extends RequestLimiter { method ConcurrentMapRequestLimiter (line 33) | private ConcurrentMapRequestLimiter(ScheduledExecutorService scheduler) { method limitFrequency (line 49) | @Override method limitThreshold (line 56) | @Override method cacheCode (line 65) | @Override method checkCode (line 71) | @Override method cacheCaptcha (line 106) | @Override method checkCaptcha (line 111) | @Override method recordAction (line 125) | @Override method countAction (line 130) | @Override method resetAction (line 136) | @Override method checkLimit (line 142) | private void checkLimit(String key, int ttl, int limit, String message) method incrementAndGet (line 150) | private CacheValue incrementAndGet(String key, long expireTimeMilli... method remove (line 166) | private void remove(String... keys) { method getAndRemove (line 172) | private CacheValue getAndRemove(String key) { method add (line 177) | private void add(String key, T value, int ttl) { method get (line 181) | private CacheValue get(String key) { FILE: src/main/java/cn/ponfee/commons/limit/request/HttpSessionRequestLimiter.java class HttpSessionRequestLimiter (line 22) | @SuppressWarnings("unchecked") method HttpSessionRequestLimiter (line 27) | private HttpSessionRequestLimiter(HttpSession session) { method create (line 31) | public static HttpSessionRequestLimiter create(HttpSession session) { method limitFrequency (line 42) | @Override @Deprecated method limitThreshold (line 50) | @Override @Deprecated method cacheCode (line 60) | @Override method checkCode (line 66) | @Override method cacheCaptcha (line 101) | @Override method checkCaptcha (line 106) | @Override method recordAction (line 126) | @Override @Deprecated method countAction (line 131) | @Override @Deprecated method resetAction (line 137) | @Override @Deprecated method checkLimit (line 143) | private void checkLimit(String key, int ttl, int limit, String message) method incrementAndGet (line 151) | private CacheValue incrementAndGet(String key, long expireTimeMilli... method remove (line 164) | private void remove(String... keys) { method getAndRemove (line 170) | private CacheValue getAndRemove(String key) { method add (line 180) | private void add(String key, T value, int ttl) { method get (line 184) | private CacheValue get(String key) { FILE: src/main/java/cn/ponfee/commons/limit/request/RequestLimitException.java class RequestLimitException (line 15) | public class RequestLimitException extends Exception { method RequestLimitException (line 22) | public RequestLimitException(String message) { FILE: src/main/java/cn/ponfee/commons/limit/request/RequestLimiter.java class RequestLimiter (line 25) | public abstract class RequestLimiter { method limitFrequency (line 44) | public final RequestLimiter limitFrequency(String key, int period) method limitFrequency (line 61) | public abstract RequestLimiter limitFrequency(String key, int period, ... method limitThreshold (line 64) | public final RequestLimiter limitThreshold(String key, int period, int... method limitThreshold (line 83) | public abstract RequestLimiter limitThreshold(String key, int period, method cacheCode (line 95) | public abstract void cacheCode(String key, String code, int ttl); method checkCode (line 108) | public abstract RequestLimiter checkCode(String key, String code, int ... method cacheCaptcha (line 119) | public abstract void cacheCaptcha(String key, String captcha, int expi... method checkCaptcha (line 121) | public final boolean checkCaptcha(String key, String captcha) { method checkCaptcha (line 134) | public abstract boolean checkCaptcha(String key, String captcha, method recordAction (line 145) | public abstract void recordAction(String key, int period); method countAction (line 154) | public abstract long countAction(String key); method resetAction (line 161) | public abstract void resetAction(String key); method buildNonce (line 172) | public static String buildNonce(String code, String salt) { method verifyNonce (line 189) | public static boolean verifyNonce(String nonce, String code, String sa... method format (line 199) | public static String format(int seconds) { method expire (line 236) | static long expire(int ttl) { class CacheValue (line 240) | static class CacheValue implements Serializable { method CacheValue (line 247) | CacheValue(T value, long expireTimeMillis) { method increment (line 253) | int increment() { method count (line 257) | int count() { method get (line 261) | T get() { method isExpire (line 265) | boolean isExpire() { method isExpire (line 269) | boolean isExpire(long timeMillis) { FILE: src/main/java/cn/ponfee/commons/log/LogAnnotation.java type LogType (line 42) | enum LogType { method LogType (line 50) | LogType(int type, String comment) { method comment (line 55) | public String comment() { method type (line 59) | public int type() { FILE: src/main/java/cn/ponfee/commons/log/LogInfo.java class LogInfo (line 19) | public class LogInfo extends ToJsonString implements java.io.Serializable { method LogInfo (line 30) | public LogInfo() {} method LogInfo (line 32) | public LogInfo(String methodName) { method getType (line 36) | public LogType getType() { method setType (line 40) | public void setType(LogType type) { method getDesc (line 44) | public String getDesc() { method setDesc (line 48) | public void setDesc(String desc) { method getMethodName (line 52) | public String getMethodName() { method setMethodName (line 56) | public void setMethodName(String methodName) { method getArgs (line 60) | public Object getArgs() { method setArgs (line 64) | public void setArgs(Object args) { method getRetVal (line 68) | public Object getRetVal() { method setRetVal (line 72) | public void setRetVal(Object retVal) { method getException (line 76) | public String getException() { method setException (line 80) | public void setException(String exception) { method getCostTime (line 84) | public int getCostTime() { method setCostTime (line 88) | public void setCostTime(int costTime) { FILE: src/main/java/cn/ponfee/commons/log/LogRecorder.java class LogRecorder (line 40) | public abstract class LogRecorder { method LogRecorder (line 48) | public LogRecorder() { method LogRecorder (line 52) | public LogRecorder(int alarmThresholdMillis) { method LogRecorder (line 56) | public LogRecorder(CurrentLimiter circuitBreaker) { method LogRecorder (line 60) | public LogRecorder(int alarmThresholdMillis, CurrentLimiter circuitBre... method around (line 72) | public Object around(ProceedingJoinPoint pjp) throws Throwable { method around (line 83) | public Object around(ProceedingJoinPoint pjp, LogAnnotation log) throw... method log (line 134) | protected void log(LogInfo logInfo) { method getLogs (line 138) | private String getLogs(LogAnnotation log) { FILE: src/main/java/cn/ponfee/commons/math/FailureRatioActuary.java class FailureRatioActuary (line 20) | public class FailureRatioActuary { method FailureRatioActuary (line 26) | public FailureRatioActuary(int size) { method size (line 32) | public int size() { method set (line 37) | public void set(boolean value) { method set (line 44) | public void set(Boolean value) { method ratio (line 51) | public double ratio(T[] array, ToBooleanFunction mapper) { method set (line 58) | public double set(List array, ToBooleanFunction mapper) { method ratio (line 65) | public double ratio(boolean[] array) { method ratio (line 72) | public double ratio() { method toString (line 76) | @Override type ToBooleanFunction (line 81) | @FunctionalInterface method apply (line 83) | boolean apply(T value); FILE: src/main/java/cn/ponfee/commons/math/Maths.java class Maths (line 20) | public class Maths { method log2 (line 28) | public static strictfp double log2(double n) { method log (line 42) | public static strictfp double log(double n, double base) { method rotateLeft (line 53) | public static int rotateLeft(int x, int n) { method bitsMask (line 79) | public static long bitsMask(int bits) { method pow (line 91) | public static long pow(long base, int exponent) { method abs (line 105) | public static int abs(int a) { method abs (line 110) | public static long abs(long a) { method sqrtBinary (line 121) | public static strictfp double sqrtBinary(double value) { method sqrtNewton (line 157) | public static strictfp double sqrtNewton(double value) { method plus (line 174) | public static int plus(int a, int b) { method minus (line 184) | public static int minus(int a, int b) { method plus (line 195) | public static long plus(long a, long b) { method minus (line 205) | public static long minus(long a, long b) { method gcd (line 222) | public static int gcd(int a, int b) { method gcd (line 244) | public static int gcd(int[] array) { FILE: src/main/java/cn/ponfee/commons/math/Numbers.java class Numbers (line 44) | public final class Numbers { method toChar (line 53) | public static char toChar(Object obj) { method toChar (line 57) | public static char toChar(Object obj, char defaultVal) { method toWrapChar (line 62) | public static Character toWrapChar(Object obj) { method toBoolean (line 80) | public static boolean toBoolean(Object obj) { method toBoolean (line 84) | public static boolean toBoolean(Object obj, boolean defaultVal) { method toWrapBoolean (line 89) | public static Boolean toWrapBoolean(Object obj) { method toByte (line 102) | public static byte toByte(Object obj) { method toByte (line 106) | public static byte toByte(Object obj, byte defaultVal) { method toWrapByte (line 114) | public static Byte toWrapByte(Object obj) { method toShort (line 126) | public static short toShort(Object obj) { method toShort (line 130) | public static short toShort(Object obj, short defaultVal) { method toWrapShort (line 138) | public static Short toWrapShort(Object obj) { method toInt (line 150) | public static int toInt(Object obj) { method toInt (line 154) | public static int toInt(Object obj, int defaultVal) { method toWrapInt (line 162) | public static Integer toWrapInt(Object obj) { method toLong (line 174) | public static long toLong(Object obj) { method toLong (line 178) | public static long toLong(Object obj, long defaultVal) { method toWrapLong (line 186) | public static Long toWrapLong(Object obj) { method toFloat (line 197) | public static float toFloat(Object obj) { method toFloat (line 201) | public static float toFloat(Object obj, float defaultVal) { method toWrapFloat (line 209) | public static Float toWrapFloat(Object obj) { method toDouble (line 221) | public static double toDouble(Object obj) { method toDouble (line 225) | public static double toDouble(Object obj, double defaultVal) { method toWrapDouble (line 233) | public static Double toWrapDouble(Object obj) { method scale (line 251) | public static double scale(Object value, int scale) { method lower (line 270) | public static double lower(double value, int pow) { method lower (line 274) | public static double lower(double value, int pow, int scale) { method upper (line 287) | public static double upper(double value, int pow) { method upper (line 291) | public static double upper(double value, int pow, int scale) { method percent (line 305) | public static String percent(double numerator, double denominator, int... method percent (line 320) | public static String percent(double value, int scale) { method format (line 339) | public static String format(Object obj) { method format (line 350) | public static String format(Object obj, String format) { method format (line 372) | public static String format(double d, int scale) { method bounds (line 387) | public static int bounds(Integer value, int min, int max) { method sum (line 397) | public static int sum(Integer a, Integer b) { method sum (line 401) | public static long sum(Long a, Long b) { method sum (line 405) | public static double sum(Double a, Double b) { method isNullOrZero (line 409) | public static boolean isNullOrZero(Long value) { method isNullOrZero (line 413) | public static boolean isNullOrZero(Integer value) { method slice (line 434) | public static int[] slice(int quantity, int segment) { method partition (line 460) | public static List> partition(int number, int... method split (line 487) | public static long[] split(long[] bills, long value) { method equals (line 530) | public static boolean equals(Long a, Integer b) { method toHex (line 543) | public static String toHex(BigInteger num) { method chinesize (line 567) | public static String chinesize(BigDecimal amount) { method parseLong (line 632) | private static Long parseLong(Object obj) { method parseDouble (line 646) | private static Double parseDouble(Object obj) { FILE: src/main/java/cn/ponfee/commons/math/WrappedBigDecimal.java class WrappedBigDecimal (line 19) | public class WrappedBigDecimal { method WrappedBigDecimal (line 23) | public WrappedBigDecimal(Number num) { method add (line 27) | public synchronized void add(Number num) { method divide (line 31) | public synchronized void divide(BigDecimal divisor) { method remainder (line 35) | public synchronized void remainder(BigDecimal divisor) { method abs (line 39) | public synchronized void abs(MathContext mc) { method getDouble (line 43) | public double getDouble() { method getInt (line 47) | public int getInt() { method getLong (line 51) | public long getLong() { method getFloat (line 55) | public float getFloat() { method toString (line 59) | @Override FILE: src/main/java/cn/ponfee/commons/model/AbstractDataConverter.java class AbstractDataConverter (line 32) | public abstract class AbstractDataConverter implements Function convert(List list) { method convert (line 72) | public final Page convert(Page page) { method convertResultBean (line 80) | public final Result convertResultBean(Result result) { method convertResultList (line 87) | public final Result> convertResultList(Result> result) { method convertResultPage (line 94) | public final Result> convertResultPage(Result> result) { method apply (line 102) | @Override method convert (line 108) | public static T convert(S source, Class targetType) { method convert (line 112) | @SuppressWarnings({ "unchecked" }) method copy (line 134) | public static void copy(S source, T target) { method copy (line 138) | @SuppressWarnings({ "unchecked", "rawtypes" }) method convert (line 160) | public static T convert(S source, Function converter) { method convert (line 167) | public static List convert(List list, Function conv... method convert (line 174) | public static Page convert(Page page, Function conv... method convertResultBean (line 181) | public static Result convertResultBean(Result result, Fun... method convertResultList (line 188) | public static Result> convertResultList(Result>... method convertResultPage (line 195) | public static Result> convertResultPage(Result>... method createBeanCopier (line 203) | private static BeanCopier createBeanCopier(Class sourceType, Class<... FILE: src/main/java/cn/ponfee/commons/model/BaseEntity.java class BaseEntity (line 21) | @Getter class Number (line 36) | @Getter class Creator (line 49) | @Getter class Updater (line 62) | @Getter class All (line 76) | @Getter FILE: src/main/java/cn/ponfee/commons/model/CodeMsg.java type CodeMsg (line 16) | public interface CodeMsg { method getCode (line 18) | int getCode(); method isSuccess (line 20) | boolean isSuccess(); method getMsg (line 22) | String getMsg(); type SystemExit (line 30) | enum SystemExit implements CodeMsg { method SystemExit (line 39) | SystemExit(int code) { method getCode (line 44) | @Override method isSuccess (line 49) | @Override method getMsg (line 54) | @Override FILE: src/main/java/cn/ponfee/commons/model/Form.java class Form (line 18) | public class Form implements java.io.Serializable { method getParameters (line 24) | public List getParameters() { method setParameters (line 28) | public void setParameters(List parameters) { class Parameter (line 32) | public static class Parameter implements java.io.Serializable { method getName (line 41) | public String getName() { method setName (line 45) | public void setName(String name) { method getType (line 49) | public Type getType() { method setType (line 53) | public void setType(Type type) { method getLabel (line 57) | public String getLabel() { method setLabel (line 61) | public void setLabel(String label) { method isRequired (line 65) | public boolean isRequired() { method setRequired (line 69) | public void setRequired(boolean required) { method isMultiple (line 73) | public boolean isMultiple() { method setMultiple (line 77) | public void setMultiple(boolean multiple) { type Type (line 82) | public enum Type { FILE: src/main/java/cn/ponfee/commons/model/MapDataConverter.java class MapDataConverter (line 27) | public class MapDataConverter extends AbstractDataConverter List> convert(List list, Stri... method convert (line 60) | public static Page> convert(Page page, Stri... method convertResultBean (line 67) | public static Result> convertResultBean(Result... method convertResultList (line 74) | public static Result>> convertResultList(... method convertResultPage (line 81) | public static Result>> convertResultPage(... FILE: src/main/java/cn/ponfee/commons/model/Null.java class Null (line 20) | public final class Null implements Serializable { method Null (line 36) | private Null() { method broken (line 40) | private void broken() { FILE: src/main/java/cn/ponfee/commons/model/Page.java class Page (line 45) | @Data method empty (line 73) | public static Page empty() { method of (line 77) | public static Page of(List list) { method of (line 81) | public static Page of(List list, int navigatePages) { method Page (line 85) | public Page() { method Page (line 93) | public Page(List list) { method Page (line 102) | public Page(List list, int navigatePages) { method copy (line 140) | private List copy(com.github.pagehelper.Page page) { method calcNavigatePageNums (line 147) | private void calcNavigatePageNums() { method calcPage (line 182) | private void calcPage() { method judgePageBoudary (line 198) | private void judgePageBoudary() { method isEmpty (line 210) | @Transient method forEach (line 219) | public void forEach(Consumer action) { method map (line 232) | public Page map(Function mapper) { method copy (line 242) | public Page copy() { method toString (line 248) | @Override method rowsToString (line 269) | private String rowsToString() { FILE: src/main/java/cn/ponfee/commons/model/PageBoundsResolver.java class PageBoundsResolver (line 19) | public final class PageBoundsResolver { method PageBoundsResolver (line 21) | private PageBoundsResolver() {} method resolve (line 31) | public static List resolve(int pageNum, int pageSize, long... method resolve (line 95) | public static PageBounds resolve(int pageNum, int pageSize, long total... class PageBounds (line 108) | public static final class PageBounds { method PageBounds (line 114) | PageBounds(int index, long total, long offset, int limit) { method getIndex (line 121) | public int getIndex() { method getTotal (line 125) | public long getTotal() { method getOffset (line 129) | public long getOffset() { method getLimit (line 133) | public int getLimit() { method toString (line 137) | @Override FILE: src/main/java/cn/ponfee/commons/model/PageHandler.java class PageHandler (line 27) | public final class PageHandler { method PageHandler (line 49) | public PageHandler(String paramPageNum, String paramPageSize, method handle (line 62) | public void handle(@Nonnull Object params) { method startPage (line 91) | public static void startPage(Integer pageNum, Integer pageSize) { method offsetPage (line 108) | public static void offsetPage(Integer offset, Integer limit) { method computeTotalPages (line 118) | public static int computeTotalPages(long totalRecords, int pageSize) { method computePageNum (line 122) | public static int computePageNum(long offset, int limit) { method computeOffset (line 126) | public static int computeOffset(long pageNum, int pageSize) { method getInt (line 137) | private static Integer getInt(Object params, String name) { method nullOrNegative (line 153) | private static boolean nullOrNegative(Integer val) { FILE: src/main/java/cn/ponfee/commons/model/PageParameter.java class PageParameter (line 29) | public class PageParameter extends TypedParameter { method PageParameter (line 50) | public PageParameter() { method PageParameter (line 54) | public PageParameter(int initialCapacity) { method PageParameter (line 58) | public PageParameter(int initialCapacity, int loadFactor) { method PageParameter (line 62) | public PageParameter(Map params) { method searchAll (line 67) | public PageParameter searchAll() { method validateSort (line 76) | public void validateSort(String... allows) { method getPageNum (line 102) | public int getPageNum() { method setPageNum (line 106) | public void setPageNum(int pageNum) { method getPageSize (line 111) | public int getPageSize() { method setPageSize (line 115) | public void setPageSize(int pageSize) { method getOffset (line 120) | public int getOffset() { method setOffset (line 124) | public void setOffset(int offset) { method getLimit (line 129) | public int getLimit() { method setLimit (line 133) | public void setLimit(int limit) { method getSort (line 138) | public String getSort() { method setSort (line 142) | public void setSort(String sort) { FILE: src/main/java/cn/ponfee/commons/model/PaginationHtmlBuilder.java class PaginationHtmlBuilder (line 26) | public final class PaginationHtmlBuilder { method PaginationHtmlBuilder (line 44) | private PaginationHtmlBuilder(String title, String url, int pageNum, method newBuilder (line 54) | public static PaginationHtmlBuilder newBuilder(String title, String ur... method newBuilder (line 59) | public static PaginationHtmlBuilder newBuilder(String title, String ur... method scripts (line 64) | public PaginationHtmlBuilder scripts(String scripts) { method form (line 69) | public PaginationHtmlBuilder form(String form) { method table (line 74) | public PaginationHtmlBuilder table(String table) { method params (line 79) | public PaginationHtmlBuilder params(String params) { method params (line 84) | public PaginationHtmlBuilder params(Map params) { method params (line 91) | public PaginationHtmlBuilder params(PageParameter pageParams) { method foot (line 95) | public PaginationHtmlBuilder foot(String foot) { method build (line 100) | public String build() { method buildInputBox (line 212) | private static String buildInputBox(String name, Object value) { method buildPageArrow (line 219) | private static String buildPageArrow(String url, int pageNum, int page... FILE: src/main/java/cn/ponfee/commons/model/RemovableTypedKeyValue.java type RemovableTypedKeyValue (line 22) | public interface RemovableTypedKeyValue extends TypedKeyValue { method removeKey (line 24) | V removeKey(K key); method removeString (line 26) | default String removeString(K key) { method removeString (line 30) | default String removeString(K key, String defaultVal) { method removeBoolean (line 34) | default boolean removeBoolean(K key, boolean defaultValue) { method removeBoolean (line 38) | default Boolean removeBoolean(K key) { method removeInt (line 42) | default int removeInt(K key, int defaultValue) { method removeInt (line 46) | default Integer removeInt(K key) { method removeLong (line 50) | default long removeLong(K key, long defaultValue) { method removeLong (line 54) | default Long removeLong(K key) { method removeFloat (line 58) | default float removeFloat(K key, float defaultValue) { method removeFloat (line 62) | default Float removeFloat(K key) { method removeDouble (line 66) | default double removeDouble(K key, double defaultValue) { method removeDouble (line 70) | default Double removeDouble(K key) { FILE: src/main/java/cn/ponfee/commons/model/RemovableTypedMap.java type RemovableTypedMap (line 20) | public interface RemovableTypedMap extends Map, RemovableTyp... method getValue (line 22) | @Override method removeKey (line 27) | @Override FILE: src/main/java/cn/ponfee/commons/model/Result.java class Result (line 22) | public class Result extends ToJsonString implements CodeMsg, java.io.... method Result (line 33) | public Result() { method Result (line 37) | public Result(int code, boolean success, String msg, T data) { method cast (line 46) | @SuppressWarnings("unchecked") method from (line 51) | public Result from(E data) { method map (line 55) | public Result map(Function mapper) { method success (line 66) | public static Result success() { method success (line 77) | public static Result success(T data) { method failure (line 83) | public static Result failure(CodeMsg cm) { method failure (line 90) | public static Result failure(int code) { method failure (line 94) | public static Result failure(int code, String msg) { method of (line 100) | public static Result of(CodeMsg cm) { method of (line 104) | public static Result of(CodeMsg cm, T data) { method of (line 108) | public static Result of(int code, boolean success, String msg) { method of (line 112) | public static Result of(int code, boolean success, String msg, ... method assertAffectedOne (line 118) | public static Result assertAffectedOne(int actualAffectedRows) { method assertAffectedRows (line 122) | public static Result assertAffectedRows(int actualAffectedRows,... method assertOperatedState (line 126) | public static Result assertOperatedState(boolean state) { method getCode (line 132) | @Override method isSuccess (line 137) | @Override method isFailure (line 142) | @Transient method getMsg (line 147) | @Override method getData (line 152) | public T getData() { method setCode (line 156) | public void setCode(int code) { method setSuccess (line 160) | public void setSuccess(boolean success) { method setMsg (line 164) | public void setMsg(String msg) { method setData (line 168) | public void setData(T data) { class Success (line 177) | private static final class Success extends Result { method Success (line 183) | private Success() { method setCode (line 187) | @Override method setMsg (line 192) | @Override method setData (line 197) | @Override method readResolve (line 202) | private Object readResolve() { FILE: src/main/java/cn/ponfee/commons/model/ResultCode.java class ResultCode (line 112) | public final class ResultCode implements CodeMsg { method ResultCode (line 150) | private ResultCode(int code, String msg) { method of0 (line 163) | private static ResultCode of0(int code, String msg) { method of (line 177) | public static ResultCode of(int code, String msg) { method getCode (line 184) | @Override method isSuccess (line 189) | @Override method getMsg (line 194) | @Override FILE: src/main/java/cn/ponfee/commons/model/SearchAfter.java class SearchAfter (line 16) | public class SearchAfter implements java.io.Serializable { method SearchAfter (line 23) | public SearchAfter(SortField sortField, T value) { method getSortField (line 28) | public SortField getSortField() { method getValue (line 32) | public T getValue() { method copy (line 36) | public SearchAfter copy(T value) { FILE: src/main/java/cn/ponfee/commons/model/SortField.java class SortField (line 18) | public class SortField implements java.io.Serializable { method SortField (line 27) | public SortField(String field, SortOrder sortOrder) { method SortField (line 31) | public SortField(String field, SortOrder sortOrder, method getField (line 39) | public String getField() { method getSortOrder (line 43) | public SortOrder getSortOrder() { method isIgnoreCase (line 47) | public boolean isIgnoreCase() { method getNullHandling (line 51) | public NullHandling getNullHandling() { FILE: src/main/java/cn/ponfee/commons/model/SortOrder.java type SortOrder (line 16) | public enum SortOrder { method of (line 20) | public static SortOrder of(String name) { type NullHandling (line 24) | public enum NullHandling { FILE: src/main/java/cn/ponfee/commons/model/ToJsonString.java class ToJsonString (line 18) | public abstract class ToJsonString { method toString (line 20) | @Override FILE: src/main/java/cn/ponfee/commons/model/TypedHashMap.java class TypedHashMap (line 19) | public class TypedHashMap extends HashMap implements TypedMa... method TypedHashMap (line 23) | public TypedHashMap() { method TypedHashMap (line 27) | public TypedHashMap(int initialCapacity) { method TypedHashMap (line 31) | public TypedHashMap(Map m) { FILE: src/main/java/cn/ponfee/commons/model/TypedKeyValue.java type TypedKeyValue (line 23) | public interface TypedKeyValue { method getValue (line 25) | V getValue(K key); method hasKey (line 27) | default boolean hasKey(K key) { method getRequired (line 33) | default V getRequired(K key) { method get (line 37) | default V get(K key, V defaultVal) { method getRequiredString (line 43) | default String getRequiredString(K key) { method getString (line 47) | default String getString(K key) { method getString (line 51) | default String getString(K key, String defaultVal) { method getRequiredBoolean (line 56) | default boolean getRequiredBoolean(K key) { method getBoolean (line 71) | default boolean getBoolean(K key, boolean defaultValue) { method getBoolean (line 75) | default Boolean getBoolean(K key) { method getRequiredInt (line 80) | default int getRequiredInt(K key) { method getInt (line 84) | default int getInt(K key, int defaultValue) { method getInt (line 88) | default Integer getInt(K key) { method getRequiredLong (line 93) | default long getRequiredLong(K key) { method getLong (line 97) | default long getLong(K key, long defaultValue) { method getLong (line 101) | default Long getLong(K key) { method getRequiredFloat (line 106) | default float getRequiredFloat(K key) { method getFloat (line 110) | default float getFloat(K key, float defaultValue) { method getFloat (line 114) | default Float getFloat(K key) { method getRequiredDouble (line 119) | default double getRequiredDouble(K key) { method getDouble (line 123) | default double getDouble(K key, double defaultValue) { method getDouble (line 128) | default Double getDouble(K key) { method getRequired (line 133) | default R getRequired(K key, Function mapper) { FILE: src/main/java/cn/ponfee/commons/model/TypedLinkedHashMap.java class TypedLinkedHashMap (line 19) | public class TypedLinkedHashMap extends LinkedHashMap implem... method TypedLinkedHashMap (line 23) | public TypedLinkedHashMap() { method TypedLinkedHashMap (line 27) | public TypedLinkedHashMap(int initialCapacity) { method TypedLinkedHashMap (line 31) | public TypedLinkedHashMap(Map m) { FILE: src/main/java/cn/ponfee/commons/model/TypedLinkedMultiValueMap.java class TypedLinkedMultiValueMap (line 22) | public class TypedLinkedMultiValueMap extends LinkedMultiValueMap<... method TypedLinkedMultiValueMap (line 26) | public TypedLinkedMultiValueMap() { method TypedLinkedMultiValueMap (line 30) | public TypedLinkedMultiValueMap(int initialCapacity) { method TypedLinkedMultiValueMap (line 34) | public TypedLinkedMultiValueMap(Map> otherMap) { method getValue (line 38) | @Override method removeKey (line 43) | @Override FILE: src/main/java/cn/ponfee/commons/model/TypedMap.java type TypedMap (line 20) | public interface TypedMap extends Map, TypedKeyValue { method getValue (line 22) | @Override FILE: src/main/java/cn/ponfee/commons/model/TypedMapWrapper.java class TypedMapWrapper (line 25) | public class TypedMapWrapper implements TypedMap, Serializab... method TypedMapWrapper (line 31) | public TypedMapWrapper(Map otherMap) { method size (line 35) | @Override method isEmpty (line 40) | @Override method containsKey (line 45) | @Override method containsValue (line 50) | @Override method get (line 55) | @Override method put (line 60) | @Override method remove (line 65) | @Override method putAll (line 70) | @Override method clear (line 75) | @Override method keySet (line 80) | @Override method values (line 85) | @Override method entrySet (line 90) | @Override method equals (line 95) | @Override method hashCode (line 100) | @Override method toString (line 105) | @Override method empty (line 110) | public static TypedMapWrapper empty() { method clone (line 114) | @Override method copy (line 119) | public TypedMapWrapper copy() { FILE: src/main/java/cn/ponfee/commons/model/TypedParameter.java class TypedParameter (line 18) | public class TypedParameter implements RemovableTypedKeyValue params) { method put (line 28) | public Object put(String key, Object value) { method getValue (line 32) | @Override method removeKey (line 37) | @Override method params (line 42) | public Map params() { FILE: src/main/java/cn/ponfee/commons/mybatis/MultipleSqlSessionTemplate.java class MultipleSqlSessionTemplate (line 35) | public class MultipleSqlSessionTemplate extends SqlSessionTemplate { method MultipleSqlSessionTemplate (line 45) | public MultipleSqlSessionTemplate(SqlSessionFactory defaultTargetSqlSe... method getSqlSessionFactory (line 95) | @Override method getExecutorType (line 104) | @Override method getPersistenceExceptionTranslator (line 109) | @Override method selectOne (line 114) | @Override method selectOne (line 119) | @Override method selectMap (line 124) | @Override method selectMap (line 129) | @Override method selectMap (line 134) | @Override method selectCursor (line 139) | @Override method selectCursor (line 144) | @Override method selectCursor (line 149) | @Override method selectList (line 154) | @Override method selectList (line 159) | @Override method selectList (line 164) | @Override method select (line 169) | @Override method select (line 174) | @Override method select (line 179) | @Override method insert (line 184) | @Override method insert (line 189) | @Override method update (line 194) | @Override method update (line 199) | @Override method delete (line 204) | @Override method delete (line 209) | @Override method getMapper (line 214) | @Override method commit (line 219) | @Override method commit (line 224) | @Override method rollback (line 229) | @Override method rollback (line 234) | @Override method close (line 239) | @Override method clearCache (line 244) | @Override method getConfiguration (line 249) | @Override method getConnection (line 254) | @Override method flushStatements (line 259) | @Override FILE: src/main/java/cn/ponfee/commons/mybatis/PackagesSqlSessionFactoryBean.java class PackagesSqlSessionFactoryBean (line 26) | public class PackagesSqlSessionFactoryBean extends SqlSessionFactoryBean { method setTypeAliasesPackage (line 30) | @Override FILE: src/main/java/cn/ponfee/commons/mybatis/SqlHelper.java class SqlHelper (line 78) | public class SqlHelper { method getMapperSql (line 88) | public static String getMapperSql(Object mapper, String methodName, Ob... method getMapperSql (line 108) | public static String getMapperSql(SqlSession session, String fullMappe... method getMapperSql (line 131) | @SuppressWarnings("unchecked") method getNamespaceSql (line 165) | public static String getNamespaceSql(SqlSession session, String namesp... method getNamespaceSql (line 177) | public static String getNamespaceSql(SqlSession session, String namesp... method replaceParameter (line 221) | private static String replaceParameter(String sql, Object value, method getDeclaredMethods (line 262) | private static Method getDeclaredMethods(Class clazz, String method... method getParamNameFromAnnotation (line 280) | private static String getParamNameFromAnnotation(Method method, int i,... method wrapCollection (line 296) | private static Object wrapCollection(final Object object) { FILE: src/main/java/cn/ponfee/commons/mybatis/SqlMapper.java class SqlMapper (line 37) | public class SqlMapper { method SqlMapper (line 49) | public SqlMapper(SqlSession sqlSession) { method selectOne (line 60) | public Map selectOne(String sql) { method selectOne (line 71) | public Map selectOne(String sql, Object param) { method selectOne (line 82) | public T selectOne(String sql, Class resultType) { method selectOne (line 94) | public T selectOne(String sql, Object param, Class resultType) { method selectList (line 104) | public List> selectList(String sql) { method selectList (line 115) | public List> selectList(String sql, Object param) { method selectList (line 128) | public List selectList(String sql, Class resultType) { method selectList (line 143) | public List selectList(String sql, Object param, Class resul... method selectScroll (line 167) | public void selectScroll(String sql, P param, Class resultType, method insert (line 185) | public int insert(String sql) { method insert (line 196) | public int insert(String sql, Object param) { method update (line 208) | public int update(String sql) { method update (line 219) | public int update(String sql, Object param) { method delete (line 231) | public int delete(String sql) { method delete (line 242) | public int delete(String sql, Object param) { method asSingleItem (line 255) | private T asSingleItem(List list) { class MSUtils (line 264) | private static class MSUtils { method MSUtils (line 268) | private MSUtils(Configuration configuration) { method newMsId (line 280) | private String newMsId(String sql, SqlCommandType sqlCommandType) { method hasMappedStatement (line 291) | private boolean hasMappedStatement(String msId) { method newSelectMappedStatement (line 302) | private void newSelectMappedStatement(String msId, SqlSource sqlSour... method newUpdateMappedStatement (line 322) | private void newUpdateMappedStatement(String msId, SqlSource sqlSource, method select (line 333) | private String select(String sql) { method selectDynamic (line 343) | private String selectDynamic(String sql, Class parameterType) { method select (line 353) | private String select(String sql, Class resultType) { method selectDynamic (line 363) | private String selectDynamic(String sql, Class parameterType, Cla... method insert (line 373) | private String insert(String sql) { method insertDynamic (line 383) | private String insertDynamic(String sql, Class parameterType) { method update (line 393) | private String update(String sql) { method updateDynamic (line 403) | private String updateDynamic(String sql, Class parameterType) { method delete (line 413) | private String delete(String sql) { method deleteDynamic (line 423) | private String deleteDynamic(String sql, Class parameterType) { FILE: src/main/java/cn/ponfee/commons/parser/DateUDF.java class DateUDF (line 24) | public final class DateUDF { method now (line 29) | public static String now(String format) { method now (line 33) | public static String now(String format, String offset) { method startDay (line 38) | public static String startDay(String format) { method startDay (line 42) | public static String startDay(String format, String offset) { method endDay (line 46) | public static String endDay(String format) { method endDay (line 50) | public static String endDay(String format, String offset) { method startWeek (line 55) | public static String startWeek(String format) { method startWeek (line 59) | public static String startWeek(String format, String offset) { method endWeek (line 63) | public static String endWeek(String format) { method endWeek (line 67) | public static String endWeek(String format, String offset) { method startMonth (line 72) | public static String startMonth(String format) { method startMonth (line 76) | public static String startMonth(String format, String offset) { method endMonth (line 80) | public static String endMonth(String format) { method endMonth (line 84) | public static String endMonth(String format, String offset) { method startYear (line 89) | public static String startYear(String format) { method startYear (line 93) | public static String startYear(String format, String offset) { method endYear (line 97) | public static String endYear(String format) { method endYear (line 101) | public static String endYear(String format, String offset) { method now (line 106) | private static Date now() { method format (line 110) | private static String format(Date date, String format) { method compute (line 120) | private static Date compute(Date dateTime, String offset) { FILE: src/main/java/cn/ponfee/commons/parser/ELParser.java class ELParser (line 35) | public class ELParser { method parse (line 41) | public static String parse(String text) { method parse (line 45) | public static String parse(String text, Map params) { method parseParams (line 53) | private static String parseParams(String text, Map params) { method parseDateUDF (line 69) | private static String parseDateUDF(String text) { method parseSpel (line 93) | @SuppressWarnings("unchecked") method translate (line 115) | private static String translate(String text) { method getPublicStaticMethod (line 147) | private static Method getPublicStaticMethod(Class clazz, String met... FILE: src/main/java/cn/ponfee/commons/pdf/PdfWaterMark.java class PdfWaterMark (line 23) | public class PdfWaterMark { method waterImgMark (line 31) | public static void waterImgMark(InputStream pdf, byte[] img, OutputStr... method waterWordMark (line 69) | public static void waterWordMark(InputStream pdf, String words, Output... FILE: src/main/java/cn/ponfee/commons/pdf/sign/PdfSignature.java class PdfSignature (line 39) | @SuppressWarnings("restriction") method sign (line 52) | public static void sign(InputStream pdfInput, OutputStream pdfOutput, ... method sign (line 112) | public static byte[] sign(byte[] pdf, Stamp[] stamps, Signer signer) { method calcRectangle (line 128) | private static Rectangle calcRectangle(Image image, Stamp stamp) { FILE: src/main/java/cn/ponfee/commons/pdf/sign/Signer.java class Signer (line 25) | public class Signer { method Signer (line 31) | public Signer(PrivateKey priKey, Certificate[] certChain, method getPriKey (line 45) | public PrivateKey getPriKey() { method getCertChain (line 49) | public Certificate[] getCertChain() { method getImage (line 53) | public Image getImage() { FILE: src/main/java/cn/ponfee/commons/pdf/sign/Stamp.java class Stamp (line 16) | public class Stamp implements java.io.Serializable { method Stamp (line 23) | public Stamp(int pageNo, float left, float bottom) { method getPageNo (line 29) | public int getPageNo() { method getLeft (line 33) | public float getLeft() { method getBottom (line 37) | public float getBottom() { FILE: src/main/java/cn/ponfee/commons/reflect/BeanConverts.java class BeanConverts (line 24) | public final class BeanConverts { method toArray (line 34) | public static Object[] toArray(E bean, String... fields) { method toList (line 50) | @SuppressWarnings({ "unchecked" }) method toList (line 58) | public static List toList(List beans, String... field... method toMap (line 76) | @SuppressWarnings("unchecked") method toMap (line 86) | @SuppressWarnings("unchecked") method toMap (line 95) | @SuppressWarnings("unchecked") FILE: src/main/java/cn/ponfee/commons/reflect/BeanCopiers.java class BeanCopiers (line 25) | public class BeanCopiers { method get (line 29) | public static BeanCopier get(Class sourceType, Class targetType) { method copy (line 55) | public static void copy(Object source, Object target) { method copy (line 59) | public static T copy(Object source, Supplier supplier) { method copy (line 65) | public static T copy(Object source, Class targetType) { FILE: src/main/java/cn/ponfee/commons/reflect/BeanMaps.java type BeanMaps (line 33) | public enum BeanMaps { method toMap (line 39) | @Override @SuppressWarnings("unchecked") method copyFromMap (line 47) | @Override method toMap (line 59) | @Override method copyFromMap (line 70) | @Override method getFields (line 82) | private List getFields(Class beanType) { method toMap (line 94) | @Override method copyFromMap (line 111) | @Override method toMap (line 151) | public abstract Map toMap(Object bean); method copyFromMap (line 159) | public abstract void copyFromMap(Map sourceMap, Object... method toBean (line 169) | public final T toBean(Map map, Class beanType) { method copyFromBean (line 181) | public final void copyFromBean(Object sourceBean, Map ... FILE: src/main/java/cn/ponfee/commons/reflect/ClassUtils.java class ClassUtils (line 41) | public final class ClassUtils { method getMethodParamNames (line 78) | public static String[] getMethodParamNames(Method method) { method getMethodSignature (line 132) | public static String getMethodSignature(Method method) { method getField (line 156) | public static Field getField(Class clazz, String fieldName) { method listFields (line 186) | public static List listFields(Class clazz) { method getStaticFieldInClassChain (line 216) | public static Tuple2, Field> getStaticFieldInClassChain(Class... method getStaticField (line 255) | public static Field getStaticField(Class clazz, String staticFieldN... method getClassName (line 278) | public static String getClassName(Class clazz) { method getPackagePath (line 295) | public static String getPackagePath(String packageName) { method getPackagePath (line 306) | public static String getPackagePath(Class clazz) { method getClassFilePath (line 323) | public static String getClassFilePath(Class clazz) { method getClasspath (line 341) | public static String getClasspath(Class clazz) { method getClasspath (line 356) | public static String getClasspath() { method getConstructor (line 363) | @SuppressWarnings("unchecked") method newInstance (line 378) | public static T newInstance(Constructor constructor) { method newInstance (line 382) | public static T newInstance(Constructor constructor, Object[] a... method newInstance (line 395) | public static T newInstance(Class type, Class[] parameterTyp... method newInstance (line 410) | public static T newInstance(Class type) { method newInstance (line 424) | public static T newInstance(Class type, Object[] args) { method getMethod (line 440) | public static Method getMethod(Object caller, String methodName, Class... method invoke (line 457) | public static T invoke(Object caller, Method method) { method invoke (line 461) | public static T invoke(Object caller, Method method, Object[] args) { method invoke (line 473) | public static T invoke(Object caller, String methodName) { method invoke (line 477) | public static T invoke(Object caller, String methodName, Class[... method invoke (line 489) | public static T invoke(Object caller, String methodName, Object[] ... method obtainClass (line 504) | public static Tuple2, Predicates> obtainClass(Object obj) { method checkSameLength (line 517) | private static void checkSameLength(Object[] a, Object[] b) { method checkObjectArray (line 526) | private static void checkObjectArray(Object[] array) { method parseParameterTypes (line 532) | private static Class[] parseParameterTypes(Object[] args) { method getMethod0 (line 541) | private static Method getMethod0(Class type, String methodName, Cla... method getConstructor0 (line 554) | private static Constructor getConstructor0(Class type, Class... method obtainConstructor (line 568) | private static Constructor obtainConstructor(Class type, Cla... method obtainConstructor (line 577) | private static Constructor obtainConstructor(Constructor[] c... method obtainMethod (line 589) | private static Method obtainMethod(Object caller, String methodName, C... method obtainMethod (line 601) | private static Method obtainMethod(Method[] methods, String methodName, method matches (line 625) | private static boolean matches(Class[] definedTypes, Class[] act... method isSameType (line 653) | private static boolean isSameType(Type[] types, Class[] classes) { method toString (line 666) | private static String toString(Class[] parameterTypes) { FILE: src/main/java/cn/ponfee/commons/reflect/Fields.java class Fields (line 23) | @SuppressWarnings("restriction") method addressOf (line 49) | public static long addressOf(Object obj) { method addressOf (line 60) | public static long addressOf(Object[] array, int index) { method put (line 77) | public static void put(Object target, String name, Object value) { method putIfNull (line 92) | public static void putIfNull(Object target, String name, Object value) { method putIfNull (line 107) | public static void putIfNull(Object target, Field field, Object value) { method put (line 119) | public static void put(Object target, Field field, Object value) { method get (line 151) | public static Object get(Object target, String name) { method get (line 166) | public static Object get(Object target, Field field) { method putVolatile (line 196) | public static void putVolatile(Object target, Field field, Object valu... method getVolatile (line 228) | public static Object getVolatile(Object target, String name) { method getVolatile (line 243) | public static Object getVolatile(Object target, Field field) { method getField (line 268) | private static Tuple2 getField(Object obj, String name) { method getFieldOffset (line 282) | private static long getFieldOffset(Field field) { FILE: src/main/java/cn/ponfee/commons/reflect/GenericUtils.java class GenericUtils (line 26) | public final class GenericUtils { method covariant (line 35) | public static Map covariant(Map origin) { method covariant (line 47) | public static Map covariant(Properties properties) { method getActualTypeArgument (line 58) | public static Class getActualTypeArgument(Class clazz) { method getActualTypeArgument (line 69) | @SuppressWarnings("unchecked") method getActualArgTypeArgument (line 87) | public static Class getActualArgTypeArgument(Method method, int... method getActualArgTypeArgument (line 99) | public static Class getActualArgTypeArgument(Method method, int... method getActualReturnTypeArgument (line 104) | public static Class getActualReturnTypeArgument(Method method) { method getActualReturnTypeArgument (line 115) | public static Class getActualReturnTypeArgument(Method method, ... method getActualTypeArgument (line 120) | public static Class getActualTypeArgument(Field field) { method getActualTypeArgument (line 131) | public static Class getActualTypeArgument(Field field, int gene... method getFieldActualType (line 136) | public static Class getFieldActualType(Class clazz, String f... method getFieldActualType (line 159) | public static Class getFieldActualType(Class clazz, Field fi... method getMethodArgActualType (line 181) | public static Class getMethodArgActualType(Class clazz, Meth... method getMethodReturnActualType (line 200) | public static Class getMethodReturnActualType(Class clazz, M... method getGenericTypes (line 205) | public static List getGenericTypes(Class clazz) { method getActualTypeVariableMapping (line 217) | public static Map> getActualTypeVariableMapping(Class... method getRawType (line 225) | public static Class getRawType(Type type) { method getActualTypeArgument (line 236) | @SuppressWarnings("unchecked") method getActualType (line 251) | @SuppressWarnings("unchecked") method getVariableActualType (line 289) | @SuppressWarnings("unchecked") method resolveMapping (line 299) | private static void resolveMapping(Map> result, Type ... method getTypeVariableName (line 316) | private static List getTypeVariableName(Class clazz, TypeVa... method getTypeVariableName (line 323) | private static void getTypeVariableName(List names, Class c... FILE: src/main/java/cn/ponfee/commons/resource/ClassPathResourceLoader.java class ClassPathResourceLoader (line 38) | final class ClassPathResourceLoader { method getResource (line 54) | Resource getResource(String filePath, Class contextClass, String en... method listResources (line 149) | List listResources(String directory, String[] extensions, bo... method checkWithoutClass (line 266) | private static boolean checkWithoutClass(Class contextClass, String... method transform (line 283) | private static ByteArrayInputStream transform(InputStream input) throw... FILE: src/main/java/cn/ponfee/commons/resource/FileSystemResourceLoader.java class FileSystemResourceLoader (line 27) | final class FileSystemResourceLoader { method getResource (line 31) | Resource getResource(String filePath, String encoding) { method listResources (line 41) | List listResources(String directory, String[] extensions, bo... FILE: src/main/java/cn/ponfee/commons/resource/Resource.java class Resource (line 21) | public class Resource implements Closeable { method Resource (line 27) | public Resource(String filePath, String fileName, InputStream stream) { method getFilePath (line 33) | public String getFilePath() { method getFileName (line 37) | public String getFileName() { method getStream (line 41) | public InputStream getStream() { method toString (line 45) | @Override method close (line 50) | @Override FILE: src/main/java/cn/ponfee/commons/resource/ResourceLoaderFacade.java class ResourceLoaderFacade (line 50) | public final class ResourceLoaderFacade { method setServletContext (line 61) | public static void setServletContext(@Nonnull ServletContext servletCo... method getResource (line 67) | public static Resource getResource(String filePath, Class contextCl... method getResource (line 71) | public static Resource getResource(String filePath, String encoding) { method getResource (line 75) | public static Resource getResource(String filePath) { method getResource (line 86) | public static Resource getResource(String filePath, Class contextCl... method listResources (line 116) | public static List listResources(String[] extensions, Class<... method listResources (line 120) | public static List listResources(String dir, String[] extens... method listResources (line 124) | public static List listResources(String dir, String[] extens... method listResources (line 138) | public static List listResources(String dir, String[] extens... method resolveWebapp (line 166) | private static String resolveWebapp(String path) { method resolveClasspath (line 173) | private static String resolveClasspath(String path, Class contextCl... FILE: src/main/java/cn/ponfee/commons/resource/ResourceScanner.java class ResourceScanner (line 60) | public class ResourceScanner { method ResourceScanner (line 76) | public ResourceScanner(String... locationPatterns) { method ResourceScanner (line 80) | public ResourceScanner(String urlPrefix, String[] locationPatterns) { method scan4class (line 93) | public Set> scan4class() { method scan4class (line 104) | public Set> scan4class(Class[] assignableTypes, Class scan4bytes() { method scan4text (line 155) | public Map scan4text() { method scan4text (line 165) | public Map scan4text(Charset charset) { method scan (line 171) | private Map scan(ThrowingFunction ma... method matches (line 193) | private static boolean matches(List filters, MetadataReade... FILE: src/main/java/cn/ponfee/commons/resource/WebappResourceLoader.java class WebappResourceLoader (line 28) | final class WebappResourceLoader { method WebappResourceLoader (line 33) | WebappResourceLoader() {} method setServletContext (line 35) | void setServletContext(ServletContext servletContext) { method getServletContext (line 39) | ServletContext getServletContext() { method getResource (line 43) | Resource getResource(String filePath, String encoding) { method listResources (line 53) | List listResources(String directory, String[] extensions, bo... FILE: src/main/java/cn/ponfee/commons/schema/DataColumn.java class DataColumn (line 18) | public class DataColumn implements Serializable { method DataColumn (line 26) | public DataColumn() {} method DataColumn (line 28) | public DataColumn(String name, DataType type, String alias) { method getName (line 34) | public String getName() { method setName (line 38) | public void setName(String name) { method getType (line 42) | public DataType getType() { method setType (line 46) | public void setType(DataType type) { method getAlias (line 50) | public String getAlias() { method setAlias (line 54) | public void setAlias(String alias) { method of (line 58) | public static DataColumn of(String name, DataType type, String alias) { method of (line 62) | public static DataColumn of(String name, DataType type) { FILE: src/main/java/cn/ponfee/commons/schema/DataStructure.java type DataStructure (line 16) | public interface DataStructure extends java.io.Serializable { method structure (line 18) | default String structure() { method toNormal (line 22) | NormalStructure toNormal(); method toTable (line 24) | TableStructure toTable(); method toPlain (line 26) | PlainStructure toPlain(); FILE: src/main/java/cn/ponfee/commons/schema/DataStructures.java type DataStructures (line 26) | public enum DataStructures { method empty (line 30) | @Override method empty (line 40) | @Override method parse (line 45) | @Override method empty (line 59) | @Override method DataStructures (line 71) | DataStructures(Class type) { method parse (line 75) | public DataStructure parse(String text) { method empty (line 79) | public abstract DataStructure empty(); method type (line 81) | public Class type() { method ofType (line 85) | public static DataStructures ofType(Class typ... method ofName (line 99) | public static DataStructures ofName(String name) { method empty (line 113) | public static DataStructure empty(String name) { method detect (line 119) | public static DataStructure detect(String text, boolean strict) throws... method convert (line 137) | public static T con... method convert (line 141) | public static T con... method convert (line 145) | @SuppressWarnings("unchecked") FILE: src/main/java/cn/ponfee/commons/schema/DataTable.java class DataTable (line 20) | public class DataTable implements Serializable { method getName (line 29) | public String getName() { method setName (line 33) | public void setName(String name) { method getAlias (line 37) | public String getAlias() { method setAlias (line 41) | public void setAlias(String alias) { method getColumns (line 45) | public DataColumn[] getColumns() { method setColumns (line 49) | public void setColumns(DataColumn[] columns) { method getDataset (line 53) | public List getDataset() { method setDataset (line 57) | public void setDataset(List dataset) { FILE: src/main/java/cn/ponfee/commons/schema/DataType.java type DataType (line 32) | @SuppressWarnings("unchecked") method parseObject0 (line 36) | @Override method parseObject0 (line 45) | @Override method parseObject0 (line 51) | @Override method parseObject0 (line 57) | @Override method toString0 (line 62) | @Override method test0 (line 67) | @Override method parseObject0 (line 75) | @Override method convert0 (line 80) | @Override method toString0 (line 85) | @Override method parseObject0 (line 92) | @Override method convert0 (line 97) | @Override method toString0 (line 102) | @Override method parseObject0 (line 108) | @Override method DataType (line 121) | DataType(String description) { method parseObject0 (line 125) | protected abstract T parseObject0(Object value); method toString0 (line 127) | protected String toString0(Object value) { method convert0 (line 139) | protected T convert0(Object value) { method test0 (line 143) | protected boolean test0(Object value) { method parseObject (line 148) | public final T parseObject(Object value) { method toString (line 152) | public final String toString(Object value) { method convert (line 162) | public final Object convert(Object value) { method test (line 166) | public final boolean test(Object value) { method description (line 177) | public String description() { method of (line 181) | public static DataType of(String name) { method detect (line 203) | public static DataType detect(String value) { method ofDatabaseType (line 231) | public static DataType ofDatabaseType(int type) { method dateToString (line 262) | private static String dateToString(DateFormat format, Object value) { method parseToDate (line 277) | private static Date parseToDate(DateFormat format, Object value) { FILE: src/main/java/cn/ponfee/commons/schema/GridTable.java class GridTable (line 21) | public class GridTable implements Serializable { method of (line 28) | public static GridTable of(TableStructure ts) { class Columns (line 39) | public static class Columns implements Serializable { method Columns (line 46) | public Columns() {} method Columns (line 48) | public Columns(String title, String name) { method getTitle (line 54) | public String getTitle() { method setTitle (line 58) | public void setTitle(String title) { method getDataIndex (line 62) | public String getDataIndex() { method setDataIndex (line 66) | public void setDataIndex(String dataIndex) { method getKey (line 70) | public String getKey() { method setKey (line 74) | public void setKey(String key) { method convert (line 78) | public static Columns convert(DataColumn column) { method convert (line 82) | public static Columns[] convert(DataColumn[] columns) { method getColumns (line 91) | public Columns[] getColumns() { method setColumns (line 95) | public void setColumns(Columns[] columns) { method getDataset (line 99) | public NormalStructure getDataset() { method setDataset (line 103) | public void setDataset(NormalStructure dataset) { FILE: src/main/java/cn/ponfee/commons/schema/NormalStructure.java class NormalStructure (line 25) | public final class NormalStructure extends ArrayList dataset) { method toNormal (line 44) | @Override method toTable (line 57) | @Override method toPlain (line 62) | @Override method of (line 67) | public static TableStructure of(DataTable table) { method getColumns (line 72) | public DataColumn[] getColumns() { method setColumns (line 76) | public void setColumns(DataColumn[] columns) { method getDataset (line 80) | public List getDataset() { method setDataset (line 84) | public void setDataset(List dataset) { FILE: src/main/java/cn/ponfee/commons/schema/json/JsonExtractUtils.java class JsonExtractUtils (line 39) | public final class JsonExtractUtils { method extractSchema (line 58) | public static TreeNode extractSchema(String text) throws... method extractSchema (line 69) | public static TreeNode extractSchema(Object obj) throws ... method extractData (line 80) | public static DataStructure extractData(String original, @Nonnull Json... method extractData (line 103) | public static TableStructure extractData(@Nonnull Object object, @Nonn... method extractSchema (line 138) | @SuppressWarnings("unchecked") method buildTree (line 176) | private static TreeNode buildTree(List ids) { method toNode (line 193) | private static PlainNode toNode(JsonId id) { method extractData (line 197) | @SuppressWarnings("unchecked") method detectArrayType (line 313) | private static ArrayType detectArrayType(List list) { type ArrayType (line 335) | private enum ArrayType { method findFirstObject (line 339) | private static Map findFirstObject(List findFirstArray(List> list) { method detectDataType (line 357) | private static DataType detectDataType(Object value, DataType defaultT... method detectDataType (line 364) | private static DataType detectDataType(Object value) { method getValue (line 386) | private static Object getValue(Object value, DataType dataType) { method buildArrayColumns (line 390) | private static void buildArrayColumns(List list, List ids, method getCheckedChildren (line 400) | private static List> getCheckedChildren( method append (line 429) | public static void append(List> dataset, List> listArray, int maxC... method concat (line 470) | public static void concat(List> dataset, Object value) { method concat (line 490) | public static void concat(List> dataset, List> listArray, int maxR... FILE: src/main/java/cn/ponfee/commons/schema/json/JsonId.java class JsonId (line 22) | public class JsonId extends NodeId { method JsonId (line 30) | public JsonId(JsonId parent, @Nonnull String name, method equals (line 38) | @Override method compare (line 43) | @Override method hash (line 49) | @Override method clone (line 54) | @Override method getName (line 63) | public String getName() { method getType (line 67) | public DataType getType() { method getOrders (line 71) | public int getOrders() { FILE: src/main/java/cn/ponfee/commons/schema/json/JsonTree.java class JsonTree (line 34) | public class JsonTree extends ToJsonString implements Serializable, Comp... method compareTo (line 47) | @Override method hashCode (line 52) | @Override method equals (line 57) | @Override method toString (line 98) | @Override method setChildren (line 104) | @Override method sortByOrders (line 117) | public void sortByOrders() { method sortByName (line 121) | public void sortByName() { method sortChildren (line 125) | public void sortChildren(Comparator comparator) { method toFlatMap (line 134) | public Map, JsonTree> toFlatMap() { method convert (line 141) | public static JsonTree convert(TreeNode tree) { method hasChoose (line 154) | public static boolean hasChoose(JsonTree root) { method getPath (line 163) | public NodePath getPath() { method setPath (line 167) | public void setPath(NodePath path) { method getName (line 171) | public String getName() { method setName (line 175) | public void setName(String name) { method getOrders (line 179) | public int getOrders() { method setOrders (line 183) | public void setOrders(int orders) { method isChecked (line 187) | public boolean isChecked() { method setChecked (line 191) | public void setChecked(boolean checked) { method getChildren (line 195) | @Override method getType (line 200) | public DataType getType() { method setType (line 204) | public void setType(DataType type) { method checkChoose (line 209) | private static boolean checkChoose(JsonTree node) { method toFlatMap (line 242) | private void toFlatMap(Map, JsonTree> map) { FILE: src/main/java/cn/ponfee/commons/serial/ByteArraySerializer.java class ByteArraySerializer (line 19) | public class ByteArraySerializer extends Serializer { method serialize0 (line 21) | @Override method deserialize0 (line 33) | @Override method serialize (line 45) | public byte[] serialize(byte[] bytes, boolean compress) { method deserialize (line 52) | public byte[] deserialize(byte[] bytes, boolean compress) { FILE: src/main/java/cn/ponfee/commons/serial/ByteArrayTraitSerializer.java class ByteArrayTraitSerializer (line 21) | public class ByteArrayTraitSerializer extends Serializer { method serialize0 (line 23) | @Override method deserialize0 (line 34) | @SuppressWarnings("unchecked") method ofBytes (line 49) | public static T ofBytes(byte[] bytes, Class... method serialize (line 62) | public byte[] serialize(ByteArrayTrait trait, boolean compress) { FILE: src/main/java/cn/ponfee/commons/serial/FstSerializer.java class FstSerializer (line 20) | public class FstSerializer extends Serializer { method serialize0 (line 26) | @Override method deserialize0 (line 32) | @SuppressWarnings("unchecked") FILE: src/main/java/cn/ponfee/commons/serial/HessianSerializer.java class HessianSerializer (line 30) | public class HessianSerializer extends Serializer { method serialize0 (line 34) | @Override method deserialize0 (line 68) | @SuppressWarnings("unchecked") FILE: src/main/java/cn/ponfee/commons/serial/JdkSerializer.java class JdkSerializer (line 40) | public class JdkSerializer extends Serializer { method serialize0 (line 42) | @Override method deserialize0 (line 73) | @SuppressWarnings("unchecked") FILE: src/main/java/cn/ponfee/commons/serial/JsonSerializer.java class JsonSerializer (line 29) | public class JsonSerializer extends Serializer { method serialize0 (line 38) | @Override method deserialize0 (line 59) | @Override FILE: src/main/java/cn/ponfee/commons/serial/KryoSerializer.java class KryoSerializer (line 36) | public class KryoSerializer extends Serializer { method create (line 45) | @Override method serialize0 (line 57) | @Override method deserialize0 (line 87) | @Override method obtain (line 109) | private Kryo obtain() { method free (line 113) | private void free(Kryo kryo) { FILE: src/main/java/cn/ponfee/commons/serial/NullSerializer.java class NullSerializer (line 17) | public final class NullSerializer extends Serializer { method NullSerializer (line 21) | private NullSerializer() {} method serialize0 (line 23) | @Override method deserialize0 (line 28) | @Override FILE: src/main/java/cn/ponfee/commons/serial/ProtostuffSerializer.java class ProtostuffSerializer (line 27) | public class ProtostuffSerializer extends Serializer { method serialize0 (line 31) | @SuppressWarnings("unchecked") method deserialize0 (line 45) | @Override method getSchema (line 57) | @SuppressWarnings("unchecked") FILE: src/main/java/cn/ponfee/commons/serial/SerializationException.java class SerializationException (line 16) | public class SerializationException extends RuntimeException { method SerializationException (line 20) | public SerializationException(String msg, Throwable cause) { method SerializationException (line 24) | public SerializationException(String msg) { method SerializationException (line 28) | public SerializationException(Throwable cause) { FILE: src/main/java/cn/ponfee/commons/serial/Serializer.java class Serializer (line 18) | public abstract class Serializer { method serialize0 (line 29) | protected abstract byte[] serialize0(T obj, boolean compress); method deserialize0 (line 38) | protected abstract T deserialize0(byte[] bytes, Class clazz, bo... method serialize (line 41) | public final byte[] serialize(Object obj, boolean compress) { method serialize (line 48) | public final byte[] serialize(Object obj) { method deserialize (line 52) | public final T deserialize(byte[] bytes, Class clazz, boolean c... method deserialize (line 59) | public final T deserialize(byte[] bytes, Class clazz) { FILE: src/main/java/cn/ponfee/commons/serial/StringSerializer.java class StringSerializer (line 21) | public class StringSerializer extends Serializer { method StringSerializer (line 25) | public StringSerializer() { method StringSerializer (line 29) | public StringSerializer(String charset) { method StringSerializer (line 33) | public StringSerializer(Charset charset) { method serialize0 (line 40) | @Override method deserialize0 (line 51) | @Override method serialize (line 71) | public byte[] serialize(String str, boolean compress) { method deserialize (line 87) | public String deserialize(byte[] bytes, boolean compress) { FILE: src/main/java/cn/ponfee/commons/serial/ToStringSerializer.java class ToStringSerializer (line 26) | public class ToStringSerializer extends Serializer { method ToStringSerializer (line 30) | public ToStringSerializer() { method ToStringSerializer (line 34) | public ToStringSerializer(@Nonnull Charset charset) { method serialize0 (line 38) | @Override method deserialize0 (line 44) | @Override FILE: src/main/java/cn/ponfee/commons/serial/WrappedSerializer.java class WrappedSerializer (line 38) | public class WrappedSerializer extends Serializer { method WrappedSerializer (line 60) | public WrappedSerializer(Serializer wrapped) { method serialize0 (line 64) | @Override method deserialize0 (line 70) | @Override method serialize (line 79) | public byte[] serialize(boolean value) { method serialize (line 83) | public byte[] serialize(byte value) { method serialize (line 87) | public byte[] serialize(short value) { method serialize (line 91) | public byte[] serialize(char value) { method serialize (line 95) | public byte[] serialize(int value) { method serialize (line 99) | public byte[] serialize(long value) { method serialize (line 103) | public byte[] serialize(float value) { method serialize (line 107) | public byte[] serialize(double value) { method serialize (line 111) | public byte[] serialize(Boolean value) { method serialize (line 115) | public byte[] serialize(Byte value) { method serialize (line 119) | public byte[] serialize(Short value) { method serialize (line 123) | public byte[] serialize(Character value) { method serialize (line 127) | public byte[] serialize(Integer value) { method serialize (line 131) | public byte[] serialize(Long value) { method serialize (line 135) | public byte[] serialize(Float value) { method serialize (line 139) | public byte[] serialize(Double value) { method serialize (line 144) | public byte[] serialize(byte[] value) { method serialize (line 148) | public byte[] serialize(Byte[] value) { method serialize (line 152) | public byte[] serialize(Date value) { method serialize (line 156) | public byte[] serialize(ByteArrayWrapper value) { method serialize (line 160) | public byte[] serialize(ByteArrayTrait value) { method serialize (line 164) | public byte[] serialize(CharSequence value) { method serialize (line 168) | public byte[] serialize(InputStream value) { method serialize (line 179) | public byte[] serialize(ByteBuffer value) { method serialize (line 183) | public byte[] serialize(Enum value) { method serialize0 (line 195) | private byte[] serialize0(Object value) { method deserialize0 (line 228) | @SuppressWarnings({"unchecked", "rawtypes"}) type Serializers (line 260) | @SuppressWarnings("unchecked") method to (line 264) | @Override method from (line 269) | @Override method to (line 276) | @Override method from (line 281) | @Override method to (line 288) | @Override method from (line 293) | @Override method to (line 300) | @Override method from (line 305) | @Override method to (line 312) | @Override method from (line 317) | @Override method to (line 324) | @Override method from (line 329) | @Override method to (line 336) | @Override method from (line 341) | @Override method to (line 348) | @Override method from (line 353) | @Override method to (line 360) | @Override method from (line 365) | @Override method to (line 372) | @Override method from (line 377) | @Override method to (line 384) | @Override method from (line 389) | @Override method to (line 396) | @Override method from (line 401) | @Override method to (line 408) | @Override method from (line 413) | @Override method Serializers (line 419) | Serializers(Class... types) { method toBytes (line 425) | final byte[] toBytes(Object value) { method fromBytes (line 429) | final T fromBytes(byte[] value) { method to (line 433) | abstract byte[] to(Object value); method from (line 435) | abstract T from(byte[] value); method of (line 437) | static Serializers of(Class targetType) { class Hide (line 442) | private static class Hide { FILE: src/main/java/cn/ponfee/commons/spring/BaseController.java class BaseController (line 37) | public abstract class BaseController implements TypedKeyValue T execute(ConnectionCallback action) { method insert (line 45) | public int insert(String sql, @Nullable Object... args) { method update (line 50) | public int update(String sql, @Nullable Object... args) { method delete (line 55) | public int delete(String sql, @Nullable Object... args) { method queryForList (line 60) | public List queryForList(String sql, RowMapper rowMapper, @N... FILE: src/main/java/cn/ponfee/commons/spring/LocalizedMethodArgumentResolver.java class LocalizedMethodArgumentResolver (line 44) | public class LocalizedMethodArgumentResolver implements HandlerMethodArg... method supportsParameter (line 56) | @Override method resolveArgument (line 66) | @Override method parseMethodParameters (line 88) | private Object[] parseMethodParameters(Method method, HttpServletReque... method parseQueryString (line 103) | private Object[] parseQueryString(Method method, Map... method isAnnotationPresent (line 125) | private static boolean isAnnotationPresent(Method method, Class clazz, Class T getBean(Class clazz) { method getBean (line 87) | public static T getBean(String name, Class clazz) { method containsBean (line 97) | public static boolean containsBean(String name) { method isSingleton (line 112) | public static boolean isSingleton(String name) { method getType (line 138) | public static Class getType(String name) { method getAliases (line 148) | public static String[] getAliases(String name) { method getBeansWithAnnotation (line 158) | public static Map getBeansWithAnnotation(Class T get(Function finder) throw... FILE: src/main/java/cn/ponfee/commons/spring/SpringUtils.java class SpringUtils (line 25) | public final class SpringUtils { method getResource (line 27) | public static Resource getResource(String resourceLocation) throws IOE... FILE: src/main/java/cn/ponfee/commons/spring/TransactionUtils.java class TransactionUtils (line 28) | public class TransactionUtils { method doAfterTransactionCommit (line 35) | public static void doAfterTransactionCommit(final Runnable action) { method doInRequiresNewTransaction (line 59) | public static R doInRequiresNewTransaction(PlatformTransactionMana... method doInNestedTransaction (line 77) | public static R doInNestedTransaction(PlatformTransactionManager t... method doInPropagationTransaction (line 89) | private static R doInPropagationTransaction(PlatformTransactionMan... FILE: src/main/java/cn/ponfee/commons/spring/TypedMapMethodArgumentResolver.java class TypedMapMethodArgumentResolver (line 26) | public class TypedMapMethodArgumentResolver implements HandlerMethodArgu... method supportsParameter (line 28) | @Override method resolveArgument (line 33) | @Override FILE: src/main/java/cn/ponfee/commons/spring/YamlProperties.java class YamlProperties (line 29) | public class YamlProperties extends Properties implements TypedMap T extract(Class beanType, String prefix) { method loadYaml (line 61) | private void loadYaml(InputStream inputStream) { FILE: src/main/java/cn/ponfee/commons/spring/YamlPropertySourceFactory.java class YamlPropertySourceFactory (line 40) | public class YamlPropertySourceFactory extends DefaultPropertySourceFact... method createPropertySource (line 42) | @Override method loadYml (line 55) | public static Properties loadYml(Resource resource) { FILE: src/main/java/cn/ponfee/commons/tree/BaseNode.java class BaseNode (line 25) | public abstract class BaseNode, A... method BaseNode (line 52) | public BaseNode(T nid, T pid, A attach) { method BaseNode (line 56) | public BaseNode(T nid, T pid, boolean enabled, A attach) { method BaseNode (line 60) | public BaseNode(T nid, T pid, boolean enabled, boolean available, A at... method clone (line 74) | @Override method getNid (line 81) | public T getNid() { method getPid (line 85) | public T getPid() { method isEnabled (line 89) | public boolean isEnabled() { method isAvailable (line 93) | public boolean isAvailable() { method getAttach (line 97) | public A getAttach() { method getLevel (line 103) | public int getLevel() { method getPath (line 107) | public List getPath() { method getDegree (line 111) | public int getDegree() { method getLeftLeafCount (line 115) | public int getLeftLeafCount() { method getTreeDepth (line 119) | public int getTreeDepth() { method getTreeNodeCount (line 123) | public int getTreeNodeCount() { method getTreeMaxDegree (line 127) | public int getTreeMaxDegree() { method getTreeLeafCount (line 131) | public int getTreeLeafCount() { method getChildrenCount (line 135) | public int getChildrenCount() { method getSiblingOrdinal (line 139) | public int getSiblingOrdinal() { FILE: src/main/java/cn/ponfee/commons/tree/FlatNode.java class FlatNode (line 23) | public final class FlatNode, A> e... method FlatNode (line 28) | FlatNode(TreeNode n) { method convert (line 47) | public R convert(Function, R> convertor) { method isLeaf (line 52) | public boolean isLeaf() { FILE: src/main/java/cn/ponfee/commons/tree/MapTreeTrait.java class MapTreeTrait (line 22) | public class MapTreeTrait, A> method MapTreeTrait (line 30) | public MapTreeTrait() { method MapTreeTrait (line 34) | public MapTreeTrait(String childrenKey) { method setChildren (line 38) | @Override method getChildren (line 43) | @Override FILE: src/main/java/cn/ponfee/commons/tree/NodeId.java class NodeId (line 23) | public abstract class NodeId> extends ToJsonString i... method NodeId (line 29) | public NodeId(T parent) { method equals (line 33) | @Override @SuppressWarnings("unchecked") method compareTo (line 43) | @Override method hashCode (line 56) | @Override method equals (line 64) | protected abstract boolean equals(T another); method compare (line 66) | protected abstract int compare(T another); method hash (line 68) | protected abstract int hash(); method clone (line 70) | @Override method getParent (line 73) | public final T getParent() { FILE: src/main/java/cn/ponfee/commons/tree/NodePath.java class NodePath (line 39) | @JSONType(mappingTo = NodePath.FastjsonDeserializeMarker.class) // fastjson method NodePath (line 46) | public NodePath() { method NodePath (line 50) | @SafeVarargs method NodePath (line 55) | public NodePath(T[] parent, T child) { method NodePath (line 59) | public NodePath(List path) { method NodePath (line 63) | public NodePath(List path, T child) { method NodePath (line 67) | public NodePath(NodePath parent) { method NodePath (line 71) | public NodePath(NodePath parent, T child) { method compareTo (line 75) | @Override method equals (line 86) | @Override method clone (line 91) | @Override class FastjsonDeserializeMarker (line 98) | @JSONType(deserializer = FastjsonDeserializer.class) class FastjsonDeserializer (line 112) | public static class FastjsonDeserializer, A> ... method PlainNode (line 23) | public PlainNode(T nid, T pid, A attach) { method PlainNode (line 27) | public PlainNode(T nid, T pid, boolean enabled, A attach) { method PlainNode (line 31) | public PlainNode(T nid, T pid, boolean enabled, boolean available, A a... FILE: src/main/java/cn/ponfee/commons/tree/SiblingNodesComparator.java class SiblingNodesComparator (line 24) | public class SiblingNodesComparator> comparator) { method comparing (line 32) | public static , A, U extends Co... method comparing (line 37) | public static , A, U extends Co... method thenComparing (line 41) | public > SiblingNodesComparator ... method thenComparing (line 46) | public > SiblingNodesComparator ... method sort (line 50) | public void sort(TreeNode root) { method sort (line 54) | public void sort(List> children) { method get (line 60) | public Comparator get() { method comparator (line 64) | private static > Comparator compara... FILE: src/main/java/cn/ponfee/commons/tree/TreeNode.java class TreeNode (line 53) | public final class TreeNode, A> e... method TreeNode (line 79) | TreeNode(T nid, T pid, boolean enabled, boolean available, A attach, method builder (line 94) | public static , A> TreeNodeBuil... method mount (line 100) | public > TreeNode mount(List nodes) { method mount (line 111) | public > TreeNode mount(List list, b... method flatDFS (line 154) | public List> flatDFS() { method flatCFS (line 193) | public List> flatCFS() { method flatBFS (line 229) | public List> flatBFS() { method ifChildrenPresent (line 265) | public void ifChildrenPresent(Consumer>> chi... method forEachChild (line 271) | public void forEachChild(Consumer> childProcessor) { method traverse (line 284) | public void traverse(Consumer> action) { method convert (line 295) | public > E convert(Function> E convert(Function, CharSequence> nodeLabel) ... method toString (line 317) | @Override method getChildren (line 326) | public LinkedList> getChildren() { method prepare (line 332) | private > List> prepare(List> void mount0(List parentPath, Lis... method count (line 400) | private void count() { method buildPath (line 455) | private List buildPath(List parentPath, T nid) { method convert (line 477) | private > void convert(Function pid(T pid) { method siblingNodesComparator (line 42) | public TreeNodeBuilder siblingNodesComparator(Comparator enabled(boolean enabled) { method available (line 52) | public TreeNodeBuilder available(boolean available) { method attach (line 57) | public TreeNodeBuilder attach(A attach) { method buildPath (line 62) | public TreeNodeBuilder buildPath(boolean buildPath) { method build (line 67) | public TreeNode build() { FILE: src/main/java/cn/ponfee/commons/tree/TreeTrait.java type TreeTrait (line 22) | public interface TreeTrait, A, E ... method setChildren (line 29) | void setChildren(List children); method getChildren (line 36) | List getChildren(); FILE: src/main/java/cn/ponfee/commons/tree/print/BinaryTreePrinter.java class BinaryTreePrinter (line 25) | public class BinaryTreePrinter { type Branch (line 27) | public enum Branch { method BinaryTreePrinter (line 56) | BinaryTreePrinter(Appendable output, method print (line 80) | public void print(T root) throws IOException { method print (line 96) | public void print(List trees, int lineWidth) throws IOException { method printTreeLines (line 147) | private void printTreeLines(List treeLines) throws IOExcepti... method buildTreeLines (line 161) | private List buildTreeLines(T root) { method minLeftOffset (line 283) | private static int minLeftOffset(List treeLines) { method maxRightOffset (line 287) | private static int maxRightOffset(List treeLines) { method spaces (line 291) | private static String spaces(int n) { class TreeLine (line 295) | private static class TreeLine { method TreeLine (line 300) | TreeLine(String line, int leftOffset, int rightOffset) { FILE: src/main/java/cn/ponfee/commons/tree/print/BinaryTreePrinterBuilder.java class BinaryTreePrinterBuilder (line 18) | public class BinaryTreePrinterBuilder { method BinaryTreePrinterBuilder (line 30) | public BinaryTreePrinterBuilder(Function nodeLabel, method BinaryTreePrinterBuilder (line 36) | public BinaryTreePrinterBuilder(Appendable output, method branch (line 46) | public BinaryTreePrinterBuilder branch(BinaryTreePrinter.Branch bra... method directed (line 51) | public BinaryTreePrinterBuilder directed(boolean directed) { method nodeSpace (line 56) | public BinaryTreePrinterBuilder nodeSpace(int nodeSpace) { method treeSpace (line 61) | public BinaryTreePrinterBuilder treeSpace(int treeSpace) { method build (line 66) | public BinaryTreePrinter build() { FILE: src/main/java/cn/ponfee/commons/tree/print/MultiwayTreePrinter.java class MultiwayTreePrinter (line 25) | public final class MultiwayTreePrinter { method MultiwayTreePrinter (line 31) | public MultiwayTreePrinter(Appendable output, method print (line 69) | public void print(T root) throws IOException { FILE: src/main/java/cn/ponfee/commons/util/Asserts.java class Asserts (line 18) | public class Asserts extends org.springframework.util.Assert { method notEmpty (line 20) | public static void notEmpty(String text, String msg) { method notBlank (line 26) | public static void notBlank(String text, String msg) { method minLen (line 32) | public static void minLen(String text, int min, String msg) { method maxLen (line 38) | public static void maxLen(String text, int max, String msg) { method range (line 44) | public static void range(int value, int min, int max, String msg) { method rangeLen (line 50) | public static void rangeLen(String text, int min, int max, String msg) { FILE: src/main/java/cn/ponfee/commons/util/Base58.java class Base58 (line 42) | public class Base58 { method encode (line 62) | public static String encode(byte[] data) { method decode (line 105) | public static byte[] decode(String data) { method decodeToBigInteger (line 159) | public static BigInteger decodeToBigInteger(String data) { method encodeChecked (line 168) | public static String encodeChecked(byte[] data) { method decodeChecked (line 181) | public static byte[] decodeChecked(String data) { method divmod58 (line 199) | private static int divmod58(byte[] number, int startAt) { method divmod256 (line 217) | private static byte divmod256(byte[] number58, int startAt) { method checksum (line 229) | private static byte[] checksum(byte[] data) { FILE: src/main/java/cn/ponfee/commons/util/Base64UrlSafe.java class Base64UrlSafe (line 18) | public class Base64UrlSafe { method encode (line 20) | public static String encode(byte[] data) { method decode (line 24) | public static byte[] decode(String b64) { FILE: src/main/java/cn/ponfee/commons/util/Bytes.java class Bytes (line 38) | public final class Bytes { method dumpHex (line 54) | public static String dumpHex(byte[] data, int chunk, int block) { method dumpHex (line 96) | public static String dumpHex(byte[] data) { method toBinary (line 111) | public static String toBinary(byte... array) { method encodeHex (line 131) | public static void encodeHex(char[] charArray, int i, byte b) { method encodeHex (line 136) | public static String encodeHex(byte b, boolean lowercase) { method encodeHex (line 143) | public static String encodeHex(byte[] bytes) { method encodeHex (line 153) | public static String encodeHex(byte[] bytes, boolean lowercase) { method decodeHex (line 174) | public static byte[] decodeHex(String hex) { method toString (line 197) | public static String toString(byte[] bytes) { method toString (line 208) | public static String toString(byte[] bytes, Charset charset) { method toBytes (line 218) | public static byte[] toBytes(String value) { method toBytes (line 229) | public static byte[] toBytes(String value, Charset charset) { method toCharArray (line 241) | public static char[] toCharArray(byte[] bytes) { method toCharArray (line 252) | public static char[] toCharArray(byte[] bytes, Charset charset) { method toBytes (line 266) | public static byte[] toBytes(char[] chars) { method toBytes (line 277) | public static byte[] toBytes(char[] chars, Charset charset) { method toBytes (line 287) | public static byte[] toBytes(short value) { method toShort (line 294) | public static short toShort(byte[] bytes) { method toShort (line 298) | public static short toShort(byte[] bytes, int fromIdx) { method toBytes (line 311) | public static byte[] toBytes(char value) { method toChar (line 317) | public static char toChar(byte[] bytes) { method toChar (line 321) | public static char toChar(byte[] bytes, int fromIdx) { method toBytes (line 330) | public static byte[] toBytes(int value) { method toInt (line 337) | public static int toInt(byte[] bytes) { method toInt (line 341) | public static int toInt(byte[] bytes, int fromIdx) { method toBytes (line 355) | public static byte[] toBytes(long value) { method toLong (line 370) | public static long toLong(byte[] bytes, int fromIdx) { method toLong (line 386) | public static long toLong(byte[] bytes) { method toHex (line 396) | public static String toHex(long value) { method toHex (line 407) | public static String toHex(long value, boolean lowercase) { method toBytes (line 424) | public static byte[] toBytes(float value) { method toFloat (line 428) | public static float toFloat(byte[] bytes) { method toFloat (line 432) | public static float toFloat(byte[] bytes, int fromIdx) { method toBytes (line 438) | public static byte[] toBytes(double value) { method toDouble (line 442) | public static double toDouble(byte[] bytes) { method toDouble (line 446) | public static double toDouble(byte[] bytes, int fromIdx) { method toBytes (line 458) | public static byte[] toBytes(BigDecimal val) { method put (line 473) | public static void put(int val, byte[] bytes, int offset) { method put (line 479) | public static void put(long val, byte[] bytes, int offset) { method toBigDecimal (line 491) | public static BigDecimal toBigDecimal(byte[] bytes) { method toBigDecimal (line 503) | public static BigDecimal toBigDecimal(byte[] bytes, int offset, final ... method toBigInteger (line 523) | public static BigInteger toBigInteger(byte[] bytes) { method concat (line 538) | public static byte[] concat(byte[] first, byte[]... rest) { method tailCopy (line 573) | public static void tailCopy(byte[] src, int destLen) { method tailCopy (line 577) | public static void tailCopy(byte[] src, byte[] dest) { method tailCopy (line 594) | public static void tailCopy(byte[] src, int srcFrom, int srcLen, method tailCopy (line 613) | public static void tailCopy(byte[] src, int srcFrom, int srcLen, method headCopy (line 632) | public static void headCopy(byte[] src, byte[] dest) { method headCopy (line 636) | public static void headCopy(byte[] src, int srcFrom, int srcLen, method crc32 (line 646) | public static long crc32(byte[] bytes) { FILE: src/main/java/cn/ponfee/commons/util/CRC16.java class CRC16 (line 23) | public final class CRC16 { method CRC16 (line 50) | private CRC16() {} method digest (line 52) | public static int digest(byte[] bytes) { FILE: src/main/java/cn/ponfee/commons/util/Captchas.java class Captchas (line 25) | public class Captchas { method random (line 42) | public static String random(int size) { method random (line 52) | public static String random(int size, char[] sources) { method generate (line 63) | public static void generate(int width, OutputStream out, String code) { method generate (line 74) | public static void generate(int width, int height, OutputStream out, S... method getRandColor (line 145) | private static Color getRandColor(int fc, int bc) { method getRandomIntColor (line 154) | private static int getRandomIntColor() { method getRandomRgb (line 162) | private static int[] getRandomRgb() { method shear (line 170) | private static void shear(Graphics g, int w1, int h1, Color color) { method shearX (line 175) | private static void shearX(Graphics g, int w, int h, Color color) { method shearY (line 191) | private static void shearY(Graphics g, int w, int h, Color color) { FILE: src/main/java/cn/ponfee/commons/util/Colors.java class Colors (line 18) | public final class Colors { method fromHex (line 20) | public static Color fromHex(String hex) { method toHex (line 27) | public static String toHex(Color c) { method hex (line 31) | private static String hex(int i) { FILE: src/main/java/cn/ponfee/commons/util/ConsistentHash.java class ConsistentHash (line 26) | public class ConsistentHash { type HashFunction (line 31) | @FunctionalInterface method hash (line 39) | int hash(String key); class VirtualNode (line 76) | private class VirtualNode { method VirtualNode (line 81) | private VirtualNode(T physicalNode, int replicaIndex) { method isVirtualNodeOf (line 87) | private boolean isVirtualNodeOf(T pNode) { method ConsistentHash (line 96) | public ConsistentHash(Collection pNodes, int vNodeCount) { method ConsistentHash (line 100) | public ConsistentHash(Collection pNodes, method ConsistentHash (line 112) | public ConsistentHash(Collection pNodes, method addNode (line 137) | public void addNode(T pNode, int vNodeCount) { method removeNode (line 153) | public void removeNode(T pNode) { method routeNode (line 170) | public T routeNode(String key) { method getExistingReplicas (line 182) | public int getExistingReplicas(T pNode) { FILE: src/main/java/cn/ponfee/commons/util/CurrencyEnum.java type CurrencyEnum (line 26) | public enum CurrencyEnum { method CurrencyEnum (line 726) | CurrencyEnum(char[] currencySymbol) { method currencyCode (line 736) | public String currencyCode() { method numericCode (line 743) | public String numericCode() { method currencySymbol (line 750) | public String currencySymbol() { method currency (line 764) | public Currency currency() { method ofCurrencyCode (line 776) | public static CurrencyEnum ofCurrencyCode(String currencyCode) { method ofNumericCode (line 786) | public static CurrencyEnum ofNumericCode(String numericCode) { method ofCurrency (line 796) | public static CurrencyEnum ofCurrency(Currency currency) { FILE: src/main/java/cn/ponfee/commons/util/Enums.java class Enums (line 22) | public class Enums { method toMap (line 32) | public static > Map toMap(Class enumTy... method toMap (line 45) | public static > Map toMap(Class enumType... FILE: src/main/java/cn/ponfee/commons/util/ExtendMethodHandles.java class ExtendMethodHandles (line 42) | public class ExtendMethodHandles { method getSpecialMethodHandle (line 50) | public static MethodHandle getSpecialMethodHandle(Method parentMethod) { method getMethodLookup (line 60) | private static Function, Lookup> getMethodLookup() { FILE: src/main/java/cn/ponfee/commons/util/FailRetryTemplate.java class FailRetryTemplate (line 21) | public class FailRetryTemplate { method execute (line 25) | public static T execute(Supplier normal, Supplier messa... method execute (line 29) | public static T execute(Supplier normal, Supplier fallback, FILE: src/main/java/cn/ponfee/commons/util/Holder.java class Holder (line 21) | public final class Holder { method Holder (line 25) | private Holder(T value) { method empty (line 29) | public static Holder empty() { method of (line 33) | public static Holder of(T value) { method isEmpty (line 42) | public boolean isEmpty() { method set (line 52) | public T set(T value) { method setIfAbsent (line 63) | public void setIfAbsent(T value) { method setIfPresent (line 76) | public T setIfPresent(T value) { method setIfMatches (line 84) | public T setIfMatches(T value, Predicate predicate) { method setIfMatches (line 92) | public T setIfMatches(T value, BiPredicate predicate) { method ifPresent (line 100) | public void ifPresent(Consumer consumer) { method map (line 106) | public Holder map(Function mapper) { method filter (line 111) | public Holder filter(Predicate predicate) { method get (line 116) | public T get() { method orElse (line 120) | public T orElse(T other) { method orElseGet (line 124) | public T orElseGet(Supplier other) { method orElseThrow (line 128) | public T orElseThrow(Supplier excep... method equals (line 136) | @Override method hashCode (line 146) | @Override method toString (line 151) | @Override FILE: src/main/java/cn/ponfee/commons/util/IdcardResolver.java class IdcardResolver (line 27) | public class IdcardResolver { type CertType (line 34) | public enum CertType { type Sex (line 41) | public enum Sex { method generate (line 58) | public static String generate() { method IdcardResolver (line 69) | public IdcardResolver(String idcard) { method resolve (line 82) | private boolean resolve(String idcard) { method isFirst (line 92) | private boolean isFirst(String idcard) { method isSecond (line 114) | private boolean isSecond(String idcard) { method isPassport (line 159) | private boolean isPassport(String idcard) { method isOther (line 176) | private boolean isOther(String idcard) { method validateTWCard (line 208) | private boolean validateTWCard(String idCard) { method validateHKCard (line 232) | private boolean validateHKCard(String idCard) { method genPowerSum (line 273) | private static String genPowerSum(char[] chars) { method verifyBirthday (line 290) | private boolean verifyBirthday(String date) { method getIdcard (line 305) | public String getIdcard() { method isValid (line 309) | public boolean isValid() { method getType (line 313) | public CertType getType() { method getProvince (line 317) | public String getProvince() { method getDistrict (line 321) | public String getDistrict() { method getBirthday (line 325) | public Date getBirthday() { method getSex (line 329) | public Sex getSex() { method getAge (line 333) | public int getAge() { method toString (line 337) | @Override FILE: src/main/java/cn/ponfee/commons/util/ImageUtils.java class ImageUtils (line 31) | public class ImageUtils { method getImageSize (line 38) | public static int[] getImageSize(InputStream input) { method mergeHorizontal (line 55) | public static byte[] mergeHorizontal(String format, InputStream... img... method mergeVertical (line 90) | public static byte[] mergeVertical(String format, InputStream... imgs) { method transparent (line 132) | public static byte[] transparent(InputStream image, int refer, int nor... method getImageType (line 169) | public static String[] getImageType(InputStream img) throws IOException { method compare (line 179) | private static boolean compare(int color, int colorRange) { FILE: src/main/java/cn/ponfee/commons/util/LazyLoader.java class LazyLoader (line 25) | public class LazyLoader implements Supplier { method LazyLoader (line 31) | private LazyLoader(Supplier loader) { method of (line 35) | public static LazyLoader of(Supplier loader) { method of (line 39) | public static R of(Class type, Supplier loader) { method of (line 43) | public static LazyLoader of(Function loader, A arg) { method of (line 47) | public static R of(Class type, Function l... method get (line 51) | @Override method orElse (line 56) | public void orElse(T defaultValue) { method orElseGet (line 60) | public void orElseGet(Supplier other) { method ifPresent (line 64) | public void ifPresent(Consumer consumer) { method holder (line 69) | private Optional holder() { method of (line 76) | private static R of(Class type, final LazyLoader clazz) { method getMainJavaFileAsBytes (line 43) | public static byte[] getMainJavaFileAsBytes(Class clazz) { method getMainJavaFileAsString (line 47) | public static String getMainJavaFileAsString(Class clazz) { method getTestJavaFile (line 55) | public static File getTestJavaFile(Class clazz) { method getTestJavaFileAsBytes (line 59) | public static byte[] getTestJavaFileAsBytes(Class clazz) { method getTestJavaFileAsString (line 63) | public static String getTestJavaFileAsString(Class clazz) { method getMainJavaPath (line 71) | public static String getMainJavaPath(String basePackage) { method getMainJavaPath (line 75) | public static String getMainJavaPath(String basePackage, String filena... method getTestJavaPath (line 79) | public static String getTestJavaPath(String basePackage) { method getTestJavaPath (line 83) | public static String getTestJavaPath(String basePackage, String filena... method getMainScalaFile (line 88) | public static File getMainScalaFile(Class clazz) { method getMainScalaFileAsBytes (line 92) | public static byte[] getMainScalaFileAsBytes(Class clazz) { method getMainScalaFileAsString (line 96) | public static String getMainScalaFileAsString(Class clazz) { method getTestScalaFile (line 104) | public static File getTestScalaFile(Class clazz) { method getTestScalaFileAsBytes (line 108) | public static byte[] getTestScalaFileAsBytes(Class clazz) { method getTestScalaFileAsString (line 112) | public static String getTestScalaFileAsString(Class clazz) { method getMainScalaPath (line 120) | public static String getMainScalaPath(String basePackage) { method getMainScalaPath (line 124) | public static String getMainScalaPath(String basePackage, String filen... method getTestScalaPath (line 128) | public static String getTestScalaPath(String basePackage) { method getTestScalaPath (line 132) | public static String getTestScalaPath(String basePackage, String filen... method getMainResourcesPath (line 137) | public static String getMainResourcesPath() { method getMainResourcesPath (line 141) | public static String getMainResourcesPath(String followPath) { method getTestResourcesPath (line 145) | public static String getTestResourcesPath() { method getTestResourcesPath (line 149) | public static String getTestResourcesPath(String followPath) { method getWebAppPath (line 154) | public static String getWebAppPath() { method getWebAppPath (line 158) | public static String getWebAppPath(String webappPath) { FILE: src/main/java/cn/ponfee/commons/util/MessageFormats.java class MessageFormats (line 24) | public final class MessageFormats { method format (line 30) | public static String format(String text, Map args) { method format (line 41) | public static String format(String text, Object... args) { method formatPair (line 50) | public static String formatPair(String text, Object... args) { FILE: src/main/java/cn/ponfee/commons/util/Money.java class Money (line 45) | @JSONType(serializer = Money.Fastjson.class, deserializer = Money.Fastjs... method Money (line 83) | public Money(Currency currency, long majorUnitNumber, int minorUnitNum... method Money (line 97) | public Money(Currency currency, long number) { method of (line 106) | public static Money of(Currency currency, long number) { method of (line 110) | public static Money of(CurrencyEnum currencyEnum, long number) { method of (line 114) | public static Money of(String currencyCode, long number) { method ofMajor (line 118) | public Money ofMajor(CurrencyEnum currencyEnum, String majorUnitNumber... method ofMajor (line 122) | public Money ofMajor(String currencyCode, String majorUnitNumber, Roun... method ofMajor (line 126) | public Money ofMajor(Currency currency, String majorUnitNumber, Roundi... method ofMajor (line 130) | public static Money ofMajor(CurrencyEnum currencyEnum, BigDecimal majo... method ofMajor (line 134) | public static Money ofMajor(String currencyCode, BigDecimal majorUnitN... method ofMajor (line 145) | public static Money ofMajor(Currency currency, BigDecimal majorUnitNum... method zero (line 158) | public static Money zero(Currency currency) { method zero (line 162) | public static Money zero(CurrencyEnum currencyEnum) { method zero (line 166) | public static Money zero(String currencyCode) { method getCurrency (line 177) | public Currency getCurrency() { method getNumber (line 181) | public long getNumber() { method getCurrencyCode (line 190) | public final String getCurrencyCode() { method setNumber (line 199) | public void setNumber(long number) { method getFactor (line 208) | public final int getFactor() { method toMajorNumber (line 219) | public BigDecimal toMajorNumber() { method toMajorString (line 228) | public String toMajorString() { method equals (line 241) | @Override method equals (line 252) | public boolean equals(Money other) { method hashCode (line 265) | @Override method clone (line 275) | @Override method toString (line 285) | @Override method compareTo (line 296) | @Override method greaterThan (line 308) | public boolean greaterThan(Money other) { method add (line 320) | public Money add(Money other) { method addTo (line 331) | public Money addTo(Money other) { method subtract (line 343) | public Money subtract(Money other) { method subtractFrom (line 354) | public Money subtractFrom(Money other) { method multiply (line 366) | public Money multiply(long val) { method multiplyBy (line 376) | public Money multiplyBy(long val) { method multiply (line 387) | public Money multiply(BigDecimal val) { method multiplyBy (line 397) | public Money multiplyBy(BigDecimal val) { method multiply (line 408) | public Money multiply(BigDecimal val, RoundingMode roundingMode) { method multiplyBy (line 419) | public Money multiplyBy(BigDecimal val, RoundingMode roundingMode) { method divide (line 424) | public Money divide(BigDecimal val) { method divide (line 428) | public Money divide(BigDecimal val, RoundingMode roundingMode) { method divideBy (line 432) | public Money divideBy(BigDecimal val) { method divideBy (line 436) | public Money divideBy(BigDecimal val, RoundingMode roundingMode) { method slice (line 449) | public Money[] slice(int segment) { method slice (line 472) | public Money[] slice(long[] ratios) { method assertSameCurrency (line 491) | private void assertSameCurrency(Money other) { method create (line 497) | private Money create(long number) { method rounding (line 508) | private static long rounding(BigDecimal val, RoundingMode roundingMode) { class Fastjson (line 517) | public static class Fastjson implements ObjectSerializer, ObjectDeseri... method write (line 518) | @Override method deserialze (line 533) | @Override method getFastMatchToken (line 544) | @Override class JacksonSerializer (line 555) | public static class JacksonSerializer extends JsonSerializer { method serialize (line 556) | @Override class JacksonDeserializer (line 572) | public static class JacksonDeserializer extends JsonDeserializer { method deserialize (line 573) | @Override FILE: src/main/java/cn/ponfee/commons/util/Networks.java class Networks (line 36) | public final class Networks { method getMacOrIp (line 66) | public static String getMacOrIp(InetAddress ia) { method getMacAddress (line 84) | public static String getMacAddress(InetAddress ia) { method getHostIp (line 109) | public static String getHostIp() { method getHostName (line 114) | public static String getHostName() { method isAvailablePort (line 126) | public static boolean isAvailablePort(int port) { method findAvailablePort (line 141) | public static int findAvailablePort(int startPort) { method toLong (line 167) | public static long toLong(String ip) { method fromLong (line 184) | public static String fromLong(long ip) { method getIpAddress (line 198) | private static String getIpAddress(InetAddress ia) { method getHostAddress (line 202) | private static InetAddress getHostAddress() { method isValidHostAddress (line 249) | private static boolean isValidHostAddress(InetAddress address) { FILE: src/main/java/cn/ponfee/commons/util/ObjectUtils.java class ObjectUtils (line 34) | public final class ObjectUtils { method toString (line 45) | public static String toString(Object obj) { method toString (line 49) | public static String toString(Object obj, String defaultStr) { method compare (line 62) | public static int compare(Object a, Object b) { method typeOf (line 90) | @SuppressWarnings("unchecked") method isComplexType (line 101) | public static boolean isComplexType(Object value) { method isEmpty (line 117) | public static boolean isEmpty(Object o) { method getValue (line 146) | public static Object getValue(Object obj, String name) { method cast (line 168) | @SuppressWarnings({ "unchecked", "rawtypes" }) method getStackTrace (line 213) | public static String getStackTrace(int deepPath) { method getStackTrace (line 223) | public static String getStackTrace() { method getStackTrace (line 227) | public static String getStackTrace(Thread thread) { method buildStackTrace (line 231) | private static String buildStackTrace(StackTraceElement[] traces) { method copy (line 246) | public static void copy(T source, T target, String... fields) { method copyOf (line 260) | @SuppressWarnings("unchecked") method newInstance (line 274) | @SuppressWarnings("unchecked") method isNotBeanType (line 302) | public static boolean isNotBeanType(Class type) { type PrimitiveOrWrapperConvertors (line 316) | private enum PrimitiveOrWrapperConvertors { method to (line 319) | @Override method to (line 326) | @Override method to (line 333) | @Override method to (line 340) | @Override method to (line 347) | @Override method to (line 354) | @Override method to (line 361) | @Override method to (line 368) | @Override method to (line 375) | @Override method to (line 382) | @Override method to (line 389) | @Override method to (line 396) | @Override method to (line 403) | @Override method to (line 410) | @Override method to (line 417) | @Override method to (line 424) | @Override method PrimitiveOrWrapperConvertors (line 435) | PrimitiveOrWrapperConvertors(Class type) { method to (line 439) | abstract T to(Object value); method type (line 441) | public Class type() { method of (line 445) | static PrimitiveOrWrapperConvertors of(Class targetType) { FILE: src/main/java/cn/ponfee/commons/util/PropertiesUtils.java class PropertiesUtils (line 24) | public final class PropertiesUtils { method filterProperties (line 26) | public static Properties filterProperties(Properties props, String key... method extract (line 38) | public static T extract(Properties props, Class beanType, Strin... FILE: src/main/java/cn/ponfee/commons/util/RegexUtils.java class RegexUtils (line 26) | public final class RegexUtils { method load (line 83) | @Override method findFirst (line 97) | public static String findFirst(String originalStr, String regex) { method findGroup (line 101) | public static String findGroup(String originalStr, String regex, int g... method matches (line 114) | public static boolean matches(String originalStr, String regex) { method isMobilePhone (line 131) | public static boolean isMobilePhone(String text) { method isEmail (line 140) | public static boolean isEmail(String text) { method isIpv4 (line 150) | public static boolean isIpv4(String text) { method isIpv6 (line 160) | public static boolean isIpv6(String text) { method isValidUserName (line 170) | public static boolean isValidUserName(String text) { method isValidPassword (line 191) | public static boolean isValidPassword(String text) { method isDatePattern (line 201) | public static boolean isDatePattern(String text) { method getPhoneCarrier (line 213) | public static int getPhoneCarrier(String mobilePhone) { FILE: src/main/java/cn/ponfee/commons/util/SecureRandoms.java class SecureRandoms (line 23) | public final class SecureRandoms { method nextBytes (line 48) | public static byte[] nextBytes(int numOfByte) { method nextInt (line 59) | public static int nextInt(int bound) { method nextInt (line 63) | public static int nextInt() { method nextLong (line 67) | public static long nextLong() { method nextFloat (line 71) | public static float nextFloat() { method nextDouble (line 75) | public static double nextDouble() { method nextBoolean (line 79) | public static boolean nextBoolean() { method random (line 89) | public static BigInteger random(int bitLen) { method random (line 104) | public static BigInteger random(BigInteger mod) { method generateSeed (line 108) | public static byte[] generateSeed(int numBytes) { FILE: src/main/java/cn/ponfee/commons/util/Snowflake.java class Snowflake (line 40) | public final class Snowflake { method Snowflake (line 59) | public Snowflake(int workerId, int datacenterId, method Snowflake (line 101) | public Snowflake(int workerId, int datacenterId) { method Snowflake (line 113) | public Snowflake(int workerId) { method nextId (line 117) | public synchronized long nextId() { method untilNextMillis (line 151) | private long untilNextMillis(long lastTimestamp) { method timeGen (line 159) | private long timeGen() { FILE: src/main/java/cn/ponfee/commons/util/SqlUtils.java class SqlUtils (line 22) | public final class SqlUtils { method trim (line 24) | public static String trim(String sql) { method limitMysql (line 51) | public static String limitMysql(String sql, int limit) { method limitPgsql (line 74) | public static String limitPgsql(String sql, int limit) { method limitOracle (line 100) | public static String limitOracle(String sql, int limit) { method limitMssql (line 129) | public static String limitMssql(String sql, int limit) { method limitHive (line 151) | public static String limitHive(String sql, int limit) { method isBlank (line 169) | private static boolean isBlank(char ch) { method isBlankOrSemicolon (line 173) | private static boolean isBlankOrSemicolon(char ch) { method outermostSql (line 177) | private static String outermostSql(String sql) { method completeWhere (line 186) | private static String completeWhere(String outermost) { FILE: src/main/java/cn/ponfee/commons/util/Strings.java class Strings (line 28) | public class Strings { method join (line 32) | public static String join(Collection coll) { method join (line 36) | public static String join(Collection coll, String delimiter) { method hexadecimal (line 46) | public static String[] hexadecimal(String text) { method join (line 73) | public static String join(Collection coll, String delimiter, Fu... method fromArgs (line 95) | public static Map fromArgs(String[] args) { method mask (line 105) | public static String mask(String text, String regex, String replacemen... method mask (line 112) | public static String mask(String text, int start, int len) { method mask (line 124) | public static String mask(String text, int start, int len, char maskCh... method count (line 148) | public static int count(String text, String str) { method slice (line 163) | public static String[] slice(String str, int segment) { method isMatch (line 190) | public static boolean isMatch(String s, String p) { method safePath (line 229) | public static String safePath(String path) { method cleanPath (line 243) | public static String cleanPath(String path) { method toSeparatedName (line 307) | public static String toSeparatedName(String camelcaseName, char separa... method toCamelcaseName (line 338) | public static String toCamelcaseName(String separatedName, char separa... method ifEmpty (line 364) | public static String ifEmpty(String str, String defaultStr) { method ifBlank (line 368) | public static String ifBlank(String str, String defaultStr) { method escapeSql (line 392) | public static String escapeSql(String str) { method escapeRegex (line 405) | public static String escapeRegex(String text) { method containsAny (line 422) | public static boolean containsAny(String str, List searches) { method csvSplit (line 442) | public static String[] csvSplit(String s) { method csvSplit (line 457) | public static String[] csvSplit(String s, int off, int len) { type CsvSplitState (line 470) | private enum CsvSplitState { method csvSplit (line 488) | public static List csvSplit(List list, String s, int o... FILE: src/main/java/cn/ponfee/commons/util/SynchronizedCaches.java class SynchronizedCaches (line 20) | public final class SynchronizedCaches { method get (line 22) | public static V get(K key, Map cache, Function mapp... method get (line 37) | public static V get(K key, Map cache, Supplier supplie... FILE: src/main/java/cn/ponfee/commons/util/TimingWheel.java class TimingWheel (line 20) | public class TimingWheel> implements jav... method TimingWheel (line 40) | public TimingWheel() { method TimingWheel (line 44) | public TimingWheel(int priorityQueueInitialCapacity) { method verify (line 59) | protected boolean verify(T timing) { method offer (line 63) | public final boolean offer(T timing) { method offer (line 76) | public final boolean offer(T timing, long leastTimeMillis) { method poll (line 87) | public final List poll() { method poll (line 97) | public final List poll(long latestTimeMillis) { method secondOfMinute (line 123) | private static int secondOfMinute(long timeMillis) { type Timing (line 130) | public interface Timing> extends Comparable { method timing (line 136) | long timing(); method compareTo (line 144) | @Override class TimingQueue (line 155) | public static class TimingQueue> extends PriorityB... method TimingQueue (line 157) | public TimingQueue() { method TimingQueue (line 161) | public TimingQueue(int initialCapacity) { FILE: src/main/java/cn/ponfee/commons/util/URLCodes.java class URLCodes (line 22) | public final class URLCodes { method encodeURI (line 24) | public static String encodeURI(String url) { method encodeURI (line 39) | public static String encodeURI(String url, String charset) { method decodeURI (line 67) | public static String decodeURI(String url) { method decodeURI (line 78) | public static String decodeURI(String url, String charset) { method encodeURIComponent (line 90) | public static String encodeURIComponent(String url) { method encodeURIComponent (line 105) | public static String encodeURIComponent(String url, String charset) { method decodeURIComponent (line 116) | public static String decodeURIComponent(String url) { method decodeURIComponent (line 127) | public static String decodeURIComponent(String url, String charset) { FILE: src/main/java/cn/ponfee/commons/util/UuidUtils.java class UuidUtils (line 19) | public final class UuidUtils { method uuid (line 26) | public static byte[] uuid() { method uuid32 (line 39) | public static String uuid32() { method uuid22 (line 50) | public static String uuid22() { FILE: src/main/java/cn/ponfee/commons/util/Wechats.java class Wechats (line 27) | @SuppressWarnings("unchecked") method buildAuthorizeUrl (line 31) | public static String buildAuthorizeUrl(String appid, String redirect, ... method buildAuthorizeUrl (line 35) | public static String buildAuthorizeUrl(String appid, String charset, method buildAuthorizeUrl (line 58) | public static String buildAuthorizeUrl(String appid, String charset, method getOAuth2 (line 108) | public static Map getOAuth2(String appid, String secre... method refreshAccessToken (line 128) | public static Map refreshAccessToken(String appid, Str... method getUserInfoByOAuth2 (line 164) | public static Map getUserInfoByOAuth2(String accessTok... method getAccessToken (line 185) | public static String getAccessToken(String appid, String secret) { method getUserInfoByGlobal (line 234) | public static Map getUserInfoByGlobal(String accessTok... method getJsapiTicket (line 246) | public static String getJsapiTicket(String accessToken) { method getTicket (line 258) | public static String getTicket(String type, String accessToken) { method shareUrl (line 277) | public static Map shareUrl(String jsapiTicket, String ... method checkError (line 291) | private static void checkError(Map result) { FILE: src/main/java/cn/ponfee/commons/util/ZipUtils.java class ZipUtils (line 34) | public class ZipUtils { method zip (line 44) | public static String zip(String src) throws ZipException { method zip (line 66) | public static String zip(String src, String dest) throws ZipException { method zip (line 77) | public static String zip(String src, String dest, String passwd) method zip (line 91) | public static String zip(String src, String dest, boolean recursion, method unzip (line 151) | public static String unzip(String zipFile) throws ZipException { method unzip (line 173) | public static File[] unzip(String zipFile, String dest) throws ZipExce... method unzip (line 186) | public static File[] unzip(String zipFile, String dest, String passwd)... method unzip (line 199) | public static File[] unzip(File zipFile, String dest, String passwd) t... method toCharArray (line 233) | private static char[] toCharArray(String str) { FILE: src/main/java/cn/ponfee/commons/web/AbstractWebExceptionHandler.java class AbstractWebExceptionHandler (line 50) | public abstract class AbstractWebExceptionHandler { method AbstractWebExceptionHandler (line 64) | public AbstractWebExceptionHandler() { method AbstractWebExceptionHandler (line 68) | public AbstractWebExceptionHandler(String unauthorizedPage, method handle (line 79) | @ExceptionHandler(UnauthorizedException.class) method handle (line 96) | @ExceptionHandler(BindException.class) method handleMethod (line 115) | @ExceptionHandler(MethodArgumentNotValidException.class) method handle (line 134) | @ExceptionHandler(ConstraintViolationException.class) method handle (line 149) | @ExceptionHandler({ method handle (line 163) | @ExceptionHandler(HttpRequestMethodNotSupportedException.class) method handle (line 174) | @ExceptionHandler(HttpMediaTypeNotSupportedException.class) method handle (line 194) | @ExceptionHandler(BaseUncheckedException.class) method handle (line 204) | @ExceptionHandler(Throwable.class) method handle (line 215) | protected void handle(HttpServletRequest req, HttpServletResponse resp, method handErrorPage (line 225) | protected void handErrorPage(HttpServletRequest req, HttpServletRespon... method handle (line 235) | private void handle(HttpServletRequest req, HttpServletResponse resp, method handle (line 243) | private void handle(HttpServletRequest req, HttpServletResponse resp, FILE: src/main/java/cn/ponfee/commons/web/DevicePlatform.java type DevicePlatform (line 27) | public enum DevicePlatform { FILE: src/main/java/cn/ponfee/commons/web/DeviceType.java type DeviceType (line 27) | public enum DeviceType { FILE: src/main/java/cn/ponfee/commons/web/LiteDevice.java class LiteDevice (line 31) | public class LiteDevice { method isNormal (line 37) | public boolean isNormal() { method isMobile (line 41) | public boolean isMobile() { method isTablet (line 45) | public boolean isTablet() { method getDevicePlatform (line 49) | public DevicePlatform getDevicePlatform() { method getDeviceType (line 53) | public DeviceType getDeviceType() { method from (line 57) | public static LiteDevice from(DeviceType deviceType, DevicePlatform de... method toString (line 61) | @Override method LiteDevice (line 74) | private LiteDevice(DeviceType deviceType, DevicePlatform devicePlatfor... FILE: src/main/java/cn/ponfee/commons/web/LiteDeviceResolver.java class LiteDeviceResolver (line 52) | public class LiteDeviceResolver { method LiteDeviceResolver (line 56) | public LiteDeviceResolver() { method LiteDeviceResolver (line 60) | public LiteDeviceResolver(List normalUserAgentKeywords) { method resolveDevice (line 66) | public LiteDevice resolveDevice(HttpServletRequest request) { method resolveWithPlatform (line 157) | protected LiteDevice resolveWithPlatform(DeviceType deviceType, Device... method resolveFallback (line 167) | protected LiteDevice resolveFallback(HttpServletRequest request) { FILE: src/main/java/cn/ponfee/commons/web/WebContext.java class WebContext (line 31) | public final class WebContext { method getRequest (line 42) | public static HttpServletRequest getRequest() { method getResponse (line 48) | public static HttpServletResponse getResponse() { method setParameter (line 58) | public static void setParameter(String name, String value) { method clearParameter (line 68) | public static void clearParameter() { method getParameter (line 77) | public static String getParameter(String name) { method getParameterValues (line 92) | public static String[] getParameterValues(String name) { method getText (line 101) | public String getText() { method getText (line 111) | public String getText(String charset) { method getClientIp (line 119) | public static String getClientIp() { method getClientDevice (line 127) | public static LiteDevice getClientDevice() { method setRequest (line 132) | private static void setRequest(HttpServletRequest req) { method setResponse (line 136) | private static void setResponse(HttpServletResponse resp) { method removeRequest (line 140) | private static void removeRequest() { method removeResponse (line 144) | private static void removeResponse() { class WebContextFilter (line 276) | public static class WebContextFilter implements Filter { method init (line 323) | @Override method doFilter (line 394) | @Override method destroy (line 413) | @Override method isEnabled (line 423) | protected boolean isEnabled(HttpServletRequest request) { method generateAllowedOrigins (line 441) | private boolean generateAllowedOrigins(List allowedOriginStore, method cros (line 460) | private boolean cros(HttpServletRequest request, HttpServletResponse... method originMatches (line 504) | private boolean originMatches(List allowedOrigins, String or... method isSimpleRequest (line 530) | private boolean isSimpleRequest(HttpServletRequest request) { method isPreflightRequest (line 542) | private boolean isPreflightRequest(HttpServletRequest request) { method handleSimpleResponse (line 550) | private void handleSimpleResponse(HttpServletRequest request, HttpSe... method handlePreflightResponse (line 564) | private void handlePreflightResponse(HttpServletRequest request, Htt... method isMethodAllowed (line 594) | private boolean isMethodAllowed(HttpServletRequest request) { method getAccessControlRequestHeaders (line 608) | private List getAccessControlRequestHeaders(HttpServletReque... method areHeadersAllowed (line 626) | private boolean areHeadersAllowed(List requestedHeaders) { method commify (line 653) | private String commify(List strings) { FILE: src/main/java/cn/ponfee/commons/web/WebUtils.java class WebUtils (line 39) | public final class WebUtils { method getParams (line 69) | public static Map getParams(HttpServletRequest request) { method getText (line 77) | public static String getText(HttpServletRequest request) { method getText (line 87) | public static String getText(HttpServletRequest request, String charse... method getClientIp (line 103) | public static String getClientIp(HttpServletRequest req) { method getClientDevice (line 140) | public static LiteDevice getClientDevice(HttpServletRequest req) { method isAjax (line 157) | public static boolean isAjax(HttpServletRequest req) { method userAgent (line 167) | public static String userAgent(HttpServletRequest req) { method response (line 178) | public static void response(HttpServletResponse resp, method respJson (line 196) | public static void respJson(HttpServletResponse resp, Object data) { method respJson (line 200) | public static void respJson(HttpServletResponse resp, Object data, Str... method respJsonp (line 204) | public static void respJsonp(HttpServletResponse response, method respJsonp (line 216) | public static void respJsonp(HttpServletResponse resp, String callback, method download (line 221) | public static void download(HttpServletResponse resp, method download (line 236) | public static void download(HttpServletResponse resp, byte[] data, method download (line 248) | public static void download(HttpServletResponse resp, method download (line 263) | public static void download(HttpServletResponse resp, InputStream input, method response (line 303) | public static void response(HttpServletResponse resp, byte[] data, method response (line 318) | public static void response(HttpServletResponse resp, InputStream input, method cors (line 340) | public static void cors(HttpServletRequest req, HttpServletResponse re... method getUrlSuffix (line 363) | public static String getUrlSuffix(HttpServletRequest req) { method xssReplace (line 379) | public static String xssReplace(String text) { method getCookie (line 393) | public static String getCookie(HttpServletRequest req, String name) { method delCookie (line 407) | public static void delCookie(HttpServletRequest req, HttpServletRespon... method delCookie (line 419) | public static void delCookie(HttpServletRequest req, method addCookie (line 444) | public static void addCookie(HttpServletResponse response, method addCookie (line 457) | public static void addCookie(HttpServletResponse resp, String name, method createCookie (line 471) | public static Cookie createCookie(String name, String value, method setSessionTrace (line 483) | public static void setSessionTrace(HttpServletResponse response, Strin... method getSessionTrace (line 493) | public static String getSessionTrace(HttpServletRequest request) { method getContextPath (line 507) | public static String getContextPath(ServletContext context) { method getContextPath (line 524) | public static String getContextPath(HttpServletRequest request) { method normalize (line 556) | public static String normalize(String path) { method normalize (line 572) | public static String normalize(String path, boolean replaceBackSlash) { method toJson (line 635) | private static String toJson(Object data) { method addStreamHeader (line 641) | private static void addStreamHeader(HttpServletResponse resp, String f... method isInvalidIp (line 657) | private static boolean isInvalidIp(String ip) { FILE: src/main/java/cn/ponfee/commons/ws/JAXWS.java class JAXWS (line 42) | public class JAXWS { method client (line 53) | public static T client(Class clazz, String address, method client (line 58) | public static T client(Class clazz, String address, QName qname) { method publish (line 74) | public static void publish(String address, Object implementor) { FILE: src/main/java/cn/ponfee/commons/ws/adapter/ListMapAdapter.java class ListMapAdapter (line 32) | @SuppressWarnings("unchecked") method ListMapAdapter (line 38) | protected ListMapAdapter() { method unmarshal (line 43) | @Override method marshal (line 65) | @Override FILE: src/main/java/cn/ponfee/commons/ws/adapter/ListMapNormalAdapter.java class ListMapNormalAdapter (line 16) | public class ListMapNormalAdapter extends ListMapAdapter { FILE: src/main/java/cn/ponfee/commons/ws/adapter/MapAdapter.java class MapAdapter (line 25) | @SuppressWarnings({ "unchecked", "rawtypes" }) method MapAdapter (line 31) | protected MapAdapter() { method marshal (line 36) | @Override method unmarshal (line 50) | @Override FILE: src/main/java/cn/ponfee/commons/ws/adapter/MapNormalAdapter.java class MapNormalAdapter (line 16) | public class MapNormalAdapter extends MapAdapter { FILE: src/main/java/cn/ponfee/commons/ws/adapter/MarshalJsonAdapter.java class MarshalJsonAdapter (line 25) | public class MarshalJsonAdapter extends XmlAdapter*/ { method fromJson (line 20) | default /*E*/ MarshalJsonResult fromJson(String json) { FILE: src/main/java/cn/ponfee/commons/ws/adapter/MarshalJsonXml.java class MarshalJsonXml (line 18) | public class MarshalJsonXml implements Serializable { method MarshalJsonXml (line 25) | public MarshalJsonXml() {} method MarshalJsonXml (line 27) | public MarshalJsonXml(String type, String data) { method getType (line 33) | public String getType() { method setType (line 37) | public void setType(String type) { method getData (line 41) | public String getData() { method setData (line 45) | public void setData(String data) { FILE: src/main/java/cn/ponfee/commons/ws/adapter/ResultDataJsonAdapter.java class ResultDataJsonAdapter (line 24) | public abstract class ResultDataJsonAdapter extends XmlAdapter extends XmlAdapter { FILE: src/main/java/cn/ponfee/commons/ws/adapter/ResultListObjectArrayAdapter.java class ResultListObjectArrayAdapter (line 16) | public class ResultListObjectArrayAdapter extends ResultListAdapter { FILE: src/main/java/cn/ponfee/commons/ws/adapter/ResultMapAdapter.java class ResultMapAdapter (line 27) | @SuppressWarnings("unchecked") method ResultMapAdapter (line 33) | protected ResultMapAdapter() { method unmarshal (line 38) | @Override method marshal (line 51) | @Override FILE: src/main/java/cn/ponfee/commons/ws/adapter/ResultMapNormalAdapter.java class ResultMapNormalAdapter (line 16) | public class ResultMapNormalAdapter extends ResultMapAdapter extends XmlAdapter method ResultPageMapAdapter (line 38) | protected ResultPageMapAdapter() { method unmarshal (line 43) | @Override method marshal (line 58) | @Override FILE: src/main/java/cn/ponfee/commons/ws/adapter/ResultPageMapNormalAdapter.java class ResultPageMapNormalAdapter (line 16) | public class ResultPageMapNormalAdapter extends ResultPageMapAdapter { FILE: src/main/java/cn/ponfee/commons/ws/adapter/ResultPageObjectArrayAdapter.java class ResultPageObjectArrayAdapter (line 16) | public class ResultPageObjectArrayAdapter extends ResultPageAdapter extends XmlAdapter { FILE: src/main/java/cn/ponfee/commons/ws/adapter/model/ArrayItem.java class ArrayItem (line 17) | public class ArrayItem { method ArrayItem (line 20) | public ArrayItem() {} method ArrayItem (line 22) | public ArrayItem(T[] item) { method getItem (line 26) | public T[] getItem() { method setItem (line 30) | public void setItem(T[] item) { FILE: src/main/java/cn/ponfee/commons/ws/adapter/model/MapEntry.java class MapEntry (line 20) | public class MapEntry { method MapEntry (line 24) | public MapEntry() { method MapEntry (line 28) | public MapEntry(Map.Entry entry) { method MapEntry (line 32) | public MapEntry(K key, V value) { method getKey (line 38) | public K getKey() { method setKey (line 42) | public void setKey(K key) { method getValue (line 46) | public V getValue() { method setValue (line 50) | public void setValue(V value) { FILE: src/main/java/cn/ponfee/commons/ws/adapter/model/MapItem.java class MapItem (line 17) | @SuppressWarnings("rawtypes") method MapItem (line 21) | public MapItem() {} method MapItem (line 23) | public MapItem(MapEntry[] item) { method getItem (line 27) | public MapEntry[] getItem() { method setItem (line 31) | public void setItem(MapEntry[] item) { FILE: src/main/java/cn/ponfee/commons/ws/adapter/model/MapItemArray.java class MapItemArray (line 16) | public class MapItemArray { method MapItemArray (line 19) | public MapItemArray() {} method MapItemArray (line 21) | public MapItemArray(MapItem[] items) { method getItems (line 25) | public MapItem[] getItems() { method setItems (line 29) | public void setItems(MapItem[] items) { FILE: src/main/java/cn/ponfee/commons/ws/adapter/model/TransitPage.java class TransitPage (line 23) | public class TransitPage { method getRows (line 44) | public ArrayItem getRows() { method setRows (line 48) | public void setRows(ArrayItem rows) { method getPageNum (line 52) | public int getPageNum() { method setPageNum (line 56) | public void setPageNum(int pageNum) { method getPageSize (line 60) | public int getPageSize() { method setPageSize (line 64) | public void setPageSize(int pageSize) { method getSize (line 68) | public int getSize() { method setSize (line 72) | public void setSize(int size) { method getStartRow (line 76) | public long getStartRow() { method setStartRow (line 80) | public void setStartRow(long startRow) { method getEndRow (line 84) | public long getEndRow() { method setEndRow (line 88) | public void setEndRow(long endRow) { method getTotal (line 92) | public long getTotal() { method setTotal (line 96) | public void setTotal(long total) { method getPages (line 100) | public int getPages() { method setPages (line 104) | public void setPages(int pages) { method getPrePage (line 108) | public int getPrePage() { method setPrePage (line 112) | public void setPrePage(int prePage) { method getNextPage (line 116) | public int getNextPage() { method setNextPage (line 120) | public void setNextPage(int nextPage) { method isFirstPage (line 124) | public boolean isFirstPage() { method setFirstPage (line 128) | public void setFirstPage(boolean isFirstPage) { method isLastPage (line 132) | public boolean isLastPage() { method setLastPage (line 136) | public void setLastPage(boolean isLastPage) { method isHasPreviousPage (line 140) | public boolean isHasPreviousPage() { method setHasPreviousPage (line 144) | public void setHasPreviousPage(boolean hasPreviousPage) { method isHasNextPage (line 148) | public boolean isHasNextPage() { method setHasNextPage (line 152) | public void setHasNextPage(boolean hasNextPage) { method getNavigatePages (line 156) | public int getNavigatePages() { method setNavigatePages (line 160) | public void setNavigatePages(int navigatePages) { method getNavigatePageNums (line 164) | public int[] getNavigatePageNums() { method setNavigatePageNums (line 168) | public void setNavigatePageNums(int[] navigatePageNums) { method getNavigateFirstPage (line 172) | public int getNavigateFirstPage() { method setNavigateFirstPage (line 176) | public void setNavigateFirstPage(int navigateFirstPage) { method getNavigateLastPage (line 180) | public int getNavigateLastPage() { method setNavigateLastPage (line 184) | public void setNavigateLastPage(int navigateLastPage) { method transform (line 188) | @SuppressWarnings("unchecked") method transform (line 194) | public static TransitPage transform(Page page, T[] t) { method recover (line 201) | public static Page recover(TransitPage transit) { method copy (line 225) | private static void copy(TransitPage transit, Page page) { FILE: src/main/java/cn/ponfee/commons/xml/SimpleXmlHandler.java class SimpleXmlHandler (line 32) | public class SimpleXmlHandler { method parse (line 104) | public static List> parse(InputStream input) { method parse (line 128) | public static List> parse(String xml) { method validate (line 135) | public static void validate(InputStream xmlIn, InputStream xsdIn) { method validate (line 181) | public static void validate(String xml, String xsd) { class JAXPConstants (line 185) | private static final class JAXPConstants { FILE: src/main/java/cn/ponfee/commons/xml/XmlException.java class XmlException (line 16) | public class XmlException extends RuntimeException { method XmlException (line 19) | public XmlException() { method XmlException (line 23) | public XmlException(String message) { method XmlException (line 27) | public XmlException(String message, Throwable cause) { method XmlException (line 31) | public XmlException(Throwable cause) { method XmlException (line 35) | protected XmlException(String message, Throwable cause, FILE: src/main/java/cn/ponfee/commons/xml/XmlMap.java class XmlMap (line 25) | public final class XmlMap extends LinkedHashMap { method XmlMap (line 31) | public XmlMap(Map map) { method XmlMap (line 35) | public XmlMap(Map map, String root) { method XmlMap (line 40) | public XmlMap(String xml) { method XmlMap (line 50) | public XmlMap(XmlReader reader) { method toMap (line 58) | public Map toMap() { method toXml (line 66) | public String toXml() { method read (line 81) | private Map read(XmlReader reader) { FILE: src/main/java/cn/ponfee/commons/xml/XmlReader.java class XmlReader (line 29) | public final class XmlReader { method XmlReader (line 40) | private XmlReader() {} method create (line 42) | public static XmlReader create(String xml) { method create (line 50) | public static XmlReader create(InputStream inputStream) { method getRoot (line 68) | public String getRoot() { method evaluate (line 77) | public String evaluate(String xpathExp) { method getNode (line 90) | public Node getNode(String tagName) { method getNodes (line 104) | public NodeList getNodes(String tagName) { method getNodeText (line 118) | public String getNodeText(String tagName) { method getNodeInt (line 128) | public Integer getNodeInt(String tagName) { method getNodeLong (line 138) | public Long getNodeLong(String tagName) { method getNodeFloat (line 148) | public Float getNodeFloat(String tagName) { FILE: src/main/java/cn/ponfee/commons/xml/XmlWriter.java class XmlWriter (line 21) | public final class XmlWriter { method XmlWriter (line 25) | private XmlWriter() {} method create (line 27) | public static XmlWriter create() { method element (line 31) | public XmlWriter element(String name, String text) { method element (line 36) | public XmlWriter element(String name, Number number) { method element (line 41) | public XmlWriter element(String parentName, String childName, String c... method element (line 45) | public XmlWriter element(String parentName, String childName, Number c... method element (line 55) | public XmlWriter element(String parentName, Object... childPairs) { method element (line 59) | public XmlWriter element(String parentName, E child) { method element (line 63) | public XmlWriter element(String parentName, List> children) { method build (line 68) | public String build() { method build (line 72) | public String build(String root) { method newElement (line 86) | public static List> newElement(Object... childPairs) { method newElement (line 104) | public static E newElement(String name, Object value) { class E (line 118) | public static abstract class E { method E (line 122) | public E(String name, T value) { method render (line 130) | private String render() { method value (line 138) | protected abstract String value(); class TextE (line 144) | public static class TextE extends E { method TextE (line 145) | public TextE(String name, String content) { method value (line 149) | @Override class NumberE (line 158) | public static class NumberE extends E { method NumberE (line 159) | public NumberE(String name, Number value) { method value (line 163) | @Override class NodeE (line 172) | public static class NodeE extends E>> { method NodeE (line 173) | public NodeE(String name, List> nodes) { method value (line 177) | @Override FILE: src/test/java/cn/ponfee/commons/Options.java class Options (line 15) | public class Options { method option (line 26) | @SuppressWarnings("unchecked") method option (line 31) | public void option(Type key, T value) { class Type (line 35) | public static class Type { method Type (line 36) | private Type() {} FILE: src/test/java/cn/ponfee/commons/SpringBaseTest.java class SpringBaseTest (line 20) | @RunWith(SpringRunner.class) // SpringJUnit4ClassRunner.class method SpringBaseTest (line 28) | public SpringBaseTest() { method SpringBaseTest (line 32) | public SpringBaseTest(String beanName) { method getBean (line 36) | protected final T getBean() { method setUp (line 40) | @Before method tearDown (line 51) | @After method initialize (line 56) | protected void initialize() { method destroy (line 60) | protected void destroy() { method consoleJson (line 64) | public static void consoleJson(Object obj) { method console (line 74) | public static void console(Object obj) { FILE: src/test/java/cn/ponfee/commons/WebServiceJaxTest.java class WebServiceJaxTest (line 36) | @RunWith(SpringRunner.class) method WebServiceJaxTest (line 47) | protected WebServiceJaxTest(String namespaceURI, String localPart) { method WebServiceJaxTest (line 51) | protected WebServiceJaxTest(String url, String namespaceURI, String lo... method client (line 57) | protected final T client() { method setUp (line 61) | @Before method tearDown (line 84) | @After method initiate (line 89) | protected void initiate() { method destory (line 93) | protected void destory() { method consoleJson (line 97) | public static void consoleJson(Object obj) { method console (line 107) | public static void console(Object obj) { FILE: src/test/java/cn/ponfee/commons/base/MethodInvokerTest.java class MethodInvokerTest (line 7) | public class MethodInvokerTest { method main (line 9) | public static void main(String[] args) { method toStr (line 42) | protected String toStr() { FILE: src/test/java/cn/ponfee/commons/base/TupleTest.java class TupleTest (line 7) | public class TupleTest { method test (line 9) | @Test FILE: src/test/java/cn/ponfee/commons/boolm/GuavaBloomFilterTest.java class GuavaBloomFilterTest (line 9) | public class GuavaBloomFilterTest { method main (line 11) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/boolm/JdkBloomFilter.java class JdkBloomFilter (line 9) | public class JdkBloomFilter implements VisitedFrontier { method JdkBloomFilter (line 18) | public JdkBloomFilter() { method put (line 23) | @Override method put (line 29) | @Override method contains (line 37) | @Override method contains (line 43) | @Override class Hash (line 54) | public static class Hash { method Hash (line 58) | public Hash(int cap, int seed) { method getHash (line 63) | public int getHash(String value) { method caculateUrl (line 72) | private String caculateUrl(String url) { method size (line 77) | public int size() { method main (line 82) | public static void main(String[] args) throws MalformedURLException { FILE: src/test/java/cn/ponfee/commons/boolm/RedisBloomFilterTest.java class RedisBloomFilterTest (line 12) | public class RedisBloomFilterTest { method test1 (line 16) | @Test FILE: src/test/java/cn/ponfee/commons/boolm/VisitedFrontier.java type VisitedFrontier (line 5) | public interface VisitedFrontier { method put (line 6) | public void put(URL url); method put (line 7) | public void put(String value); method contains (line 9) | public boolean contains(URL url); method contains (line 10) | public boolean contains(String value); FILE: src/test/java/cn/ponfee/commons/cache/Cache.java class Cache (line 27) | public class Cache { method Cache (line 42) | Cache(boolean caseSensitiveKey, boolean compressKey, long keepAliveInM... method isCaseSensitiveKey (line 84) | public boolean isCaseSensitiveKey() { method isCompressKey (line 88) | public boolean isCompressKey() { method getKeepAliveInMillis (line 92) | public long getKeepAliveInMillis() { method getRemovalListener (line 96) | public RemovalListener getRemovalListener() { method getScheduler (line 100) | public ScheduledExecutorService getScheduler() { method getTimestampProvider (line 104) | public TimestampProvider getTimestampProvider() { method setTimestampProvider (line 108) | public void setTimestampProvider(TimestampProvider timestampProvider) { method now (line 112) | private long now() { method put (line 117) | public void put(K key) { method put (line 121) | public void put(K key, V value) { method putWithAliveInMillis (line 132) | public void putWithAliveInMillis(K key, V value, int aliveInMillis) { method putWithNull (line 138) | public void putWithNull(K key, long expireTimeMillis) { method put (line 142) | public void put(K key, V value, long expireTimeMillis) { method get (line 161) | public V get(K key) { method remove (line 184) | public V remove(K key) { method containsKey (line 205) | public boolean containsKey(K key) { method containsValue (line 228) | public boolean containsValue(V value) { method values (line 258) | public Collection values() { method size (line 282) | public int size() { method isEmpty (line 290) | public boolean isEmpty() { method clear (line 297) | public void clear() { method destroy (line 306) | public void destroy() { method isDestroy (line 314) | public boolean isDestroy() { method getEffectiveKey (line 324) | @SuppressWarnings("unchecked") method onRemoval (line 346) | private void onRemoval(K key, CacheValue cacheValue, RemovalReason ... FILE: src/test/java/cn/ponfee/commons/cache/CacheBuilder.java class CacheBuilder (line 10) | public final class CacheBuilder { method CacheBuilder (line 11) | private CacheBuilder() {} method caseSensitiveKey (line 20) | public CacheBuilder caseSensitiveKey(boolean caseSensitiveKey) { method compressKey (line 25) | public CacheBuilder compressKey(boolean compressKey) { method autoReleaseInSeconds (line 30) | public CacheBuilder autoReleaseInSeconds(int autoReleaseInSecon... method keepaliveInMillis (line 35) | public CacheBuilder keepaliveInMillis(long keepaliveInMillis) { method scheduledExecutor (line 40) | public CacheBuilder scheduledExecutor(ScheduledExecutorService ... method removalListener (line 45) | public CacheBuilder removalListener(RemovalListener remov... method build (line 50) | public Cache build() { method newBuilder (line 55) | public static CacheBuilder newBuilder() { FILE: src/test/java/cn/ponfee/commons/cache/CacheValue.java class CacheValue (line 9) | class CacheValue implements java.io.Serializable { method CacheValue (line 16) | CacheValue(T value, long expireTimeMillis) { method isAlive (line 21) | boolean isAlive(long refTimeMillis) { method isExpire (line 26) | boolean isExpire(long refTimeMillis) { method getValue (line 30) | T getValue() { FILE: src/test/java/cn/ponfee/commons/cache/RemovalListener.java type RemovalListener (line 10) | @FunctionalInterface method onRemoval (line 12) | void onRemoval(RemovalNotification notification); FILE: src/test/java/cn/ponfee/commons/cache/RemovalNotification.java class RemovalNotification (line 10) | public class RemovalNotification { type RemovalReason (line 12) | public enum RemovalReason { method RemovalNotification (line 22) | public RemovalNotification(K key, V value, RemovalReason removalReason) { method getKey (line 28) | public K getKey() { method getValue (line 32) | public V getValue() { method getRemovalReason (line 36) | public RemovalReason getRemovalReason() { FILE: src/test/java/cn/ponfee/commons/collects/AbstractArrayList.java class AbstractArrayList (line 20) | public abstract class AbstractArrayList extends AbstractList method AbstractArrayList (line 30) | public AbstractArrayList(int start, int end) { method size (line 37) | @Override method isEmpty (line 42) | @Override method contains (line 47) | @Override method iterator (line 52) | @Override method listIterator (line 57) | @Override class ArrayIterator (line 62) | private class ArrayIterator implements Iterator { method ArrayIterator (line 65) | ArrayIterator(int cursor) { method hasNext (line 69) | @Override method next (line 74) | @Override method add (line 81) | @Override @Deprecated method add (line 86) | @Override @Deprecated method remove (line 91) | @Override @Deprecated method clear (line 96) | @Override @Deprecated method addAll (line 101) | @Override @Deprecated method removeRange (line 106) | @Override @Deprecated method remove (line 111) | @Override @Deprecated method addAll (line 116) | @Override @Deprecated method removeAll (line 121) | @Override @Deprecated method retainAll (line 126) | @Override @Deprecated FILE: src/test/java/cn/ponfee/commons/collects/ByteArrayList.java class ByteArrayList (line 21) | public class ByteArrayList extends AbstractArrayList { method ByteArrayList (line 27) | public ByteArrayList(byte... array) { method ByteArrayList (line 31) | public ByteArrayList(byte[] array, int start, int end) { method get (line 36) | @Override method indexOf (line 42) | @Override method lastIndexOf (line 47) | @Override method set (line 52) | @Override method subList (line 60) | @Override method equals (line 69) | @Override method hashCode (line 89) | @Override method toString (line 98) | @Override method getArray (line 103) | public byte[] getArray() { method indexOf (line 108) | public int indexOf(byte target) { method lastIndexOf (line 117) | public int lastIndexOf(byte target) { FILE: src/test/java/cn/ponfee/commons/collects/ByteArrayListTest.java class ByteArrayListTest (line 22) | public class ByteArrayListTest { method test1 (line 24) | @Test method test2 (line 65) | @Test method test3 (line 73) | @Test FILE: src/test/java/cn/ponfee/commons/collects/DoubleListViewerTest.java class DoubleListViewerTest (line 15) | public class DoubleListViewerTest { method test1 (line 17) | @Test FILE: src/test/java/cn/ponfee/commons/collects/ImmutableArrayList1.java class ImmutableArrayList1 (line 21) | public abstract class ImmutableArrayList1 extends ArrayList { method ImmutableArrayList1 (line 24) | @SuppressWarnings("unchecked") method ImmutableArrayList1 (line 32) | public ImmutableArrayList1(@NotEmpty T[] array, T last) { method ImmutableArrayList1 (line 40) | public ImmutableArrayList1(@NotEmpty List list) { method ImmutableArrayList1 (line 47) | public ImmutableArrayList1(@NotEmpty List list, T last) { method subList (line 56) | @Override method iterator (line 61) | @Override method listIterator (line 66) | @Override method listIterator (line 71) | @Override method add (line 92) | @Override @Deprecated method addAll (line 95) | @Override @Deprecated method set (line 98) | @Override @Deprecated method add (line 101) | @Override @Deprecated method remove (line 104) | @Override @Deprecated method remove (line 107) | @Override @Deprecated method clear (line 110) | @Override @Deprecated method addAll (line 113) | @Override @Deprecated method removeRange (line 116) | @Override @Deprecated method removeAll (line 119) | @Override @Deprecated method retainAll (line 122) | @Override @Deprecated method removeIf (line 125) | @Override @Deprecated method replaceAll (line 128) | @Override @Deprecated method sort (line 131) | @Override @Deprecated method trimToSize (line 134) | @Override @Deprecated FILE: src/test/java/cn/ponfee/commons/collects/ImmutableArrayListTest.java class ImmutableArrayListTest (line 12) | public class ImmutableArrayListTest { method test1 (line 14) | @Test method test2 (line 21) | @Test FILE: src/test/java/cn/ponfee/commons/collects/IntArrayList.java class IntArrayList (line 16) | public class IntArrayList extends AbstractArrayList { method IntArrayList (line 22) | public IntArrayList(int... array) { method IntArrayList (line 26) | public IntArrayList(int[] array, int start, int end) { method get (line 31) | @Override method indexOf (line 37) | @Override method lastIndexOf (line 42) | @Override method set (line 47) | @Override method subList (line 55) | @Override method equals (line 64) | @Override method hashCode (line 84) | @Override method toString (line 93) | @Override method getArray (line 98) | public int[] getArray() { method indexOf (line 103) | public int indexOf(int target) { method lastIndexOf (line 112) | public int lastIndexOf(int target) { FILE: src/test/java/cn/ponfee/commons/collects/ListTest.java class ListTest (line 18) | public class ListTest { method test1 (line 20) | @Test method test2 (line 51) | @Test method test3 (line 73) | @Test FILE: src/test/java/cn/ponfee/commons/collects/LongArrayList.java class LongArrayList (line 16) | public class LongArrayList extends AbstractArrayList { method LongArrayList (line 22) | public LongArrayList(long... array) { method LongArrayList (line 26) | public LongArrayList(long[] array, int start, int end) { method get (line 31) | @Override method indexOf (line 37) | @Override method lastIndexOf (line 42) | @Override method set (line 47) | @Override method subList (line 55) | @Override method equals (line 64) | @Override method hashCode (line 84) | @Override method toString (line 93) | @Override method getArray (line 98) | public long[] getArray() { method indexOf (line 103) | public int indexOf(long target) { method lastIndexOf (line 112) | public int lastIndexOf(long target) { FILE: src/test/java/cn/ponfee/commons/concurrent/ThreadPoolTest.java class ThreadPoolTest (line 14) | public class ThreadPoolTest { method main (line 16) | public static void main(String[] args) throws Exception { method deadlock (line 31) | private static void deadlock(int threadNumber, Runnable command, int e... class Comsumer (line 57) | private static class Comsumer implements Runnable { method Comsumer (line 60) | public Comsumer(int num) { method run (line 64) | @Override FILE: src/test/java/cn/ponfee/commons/concurrent/ThreadPoolTestUtils.java class ThreadPoolTestUtils (line 15) | public final class ThreadPoolTestUtils { class DelegatedScheduledExecutorService (line 33) | private static class DelegatedScheduledExecutorService method DelegatedScheduledExecutorService (line 36) | private DelegatedScheduledExecutorService(String threadName, Rejecte... method newScheduledExecutorService (line 40) | private static ScheduledExecutorService newScheduledExecutorService(... method schedule (line 51) | @Override method schedule (line 56) | @Override method scheduleAtFixedRate (line 61) | @Override method scheduleWithFixedDelay (line 69) | @Override class DelegatedExecutorService (line 78) | private static class DelegatedExecutorService extends AbstractDelegate... method DelegatedExecutorService (line 80) | private DelegatedExecutorService(String threadName, int queueCapacity, method newExecutorService (line 85) | private static ExecutorService newExecutorService(String threadName,... class AbstractDelegatedExecutorService (line 108) | private static class AbstractDelegatedExecutorService implements Execu... method AbstractDelegatedExecutorService (line 112) | private AbstractDelegatedExecutorService(ExecutorService delegate) { method shutdown (line 116) | @Override @Deprecated method shutdownNow (line 121) | @Override @Deprecated method awaitTermination (line 126) | @Override @Deprecated method isShutdown (line 131) | @Override method isTerminated (line 136) | @Override method submit (line 141) | @Override method submit (line 146) | @Override method submit (line 151) | @Override method invokeAll (line 156) | @Override method invokeAll (line 162) | @Override method invokeAny (line 169) | @Override method invokeAny (line 175) | @Override method execute (line 182) | @Override FILE: src/test/java/cn/ponfee/commons/dag/DAGExpressionParserTest.java class DAGExpressionParserTest (line 31) | public class DAGExpressionParserTest { method testProcess (line 36) | @Test method testPartition (line 43) | @Test method testValidate (line 53) | @Test method testBuildTree (line 66) | @Test method testSameExpression (line 87) | @Test method testEdgesEquals (line 97) | @Test method testGraph (line 129) | @Test method testGraphSequence (line 145) | @Test method testDAGNode (line 162) | @Test method assertSameExpression (line 174) | private static void assertSameExpression(String text1, String text2) { method assertEdgesEquals (line 179) | private static void assertEdgesEquals(String expression, String edges) { FILE: src/test/java/cn/ponfee/commons/data/ExtendedDruidPasswordCallback.java class ExtendedDruidPasswordCallback (line 13) | public class ExtendedDruidPasswordCallback extends DruidPasswordCallback { method setProperties (line 17) | @Override method decrypt (line 24) | private String decrypt(String data) { FILE: src/test/java/cn/ponfee/commons/data/JSONExtractUtilsTest.java class JSONExtractUtilsTest (line 16) | public class JSONExtractUtilsTest { method testFormat (line 18) | @Test method parseJson (line 28) | @Test method extractObjectArray (line 41) | @Test method extractDoubleArray (line 65) | @Test method extractBasicArray (line 88) | @Test method extractObject (line 111) | @Test method extractNormalData (line 134) | @Test method extractNormalData2 (line 157) | @Test method extractComplexData (line 180) | @Test FILE: src/test/java/cn/ponfee/commons/date/DateFormatTest.java class DateFormatTest (line 16) | public class DateFormatTest { method test1 (line 18) | @Test method test2 (line 52) | @Test method test3 (line 59) | @Test method test4 (line 66) | @Test FILE: src/test/java/cn/ponfee/commons/date/DatePeriodCalculatorTest.java class DatePeriodCalculatorTest (line 15) | public class DatePeriodCalculatorTest { method test1 (line 19) | @Test method test (line 26) | private static void test(Date startDate ) { class DatePeriodCalculator (line 63) | private static class DatePeriodCalculator { method DatePeriodCalculator (line 68) | public DatePeriodCalculator(Date starting, Date target, Periods peri... method calculate (line 79) | public Date[] calculate(int quantity, int next) { method calculate (line 148) | public Date[] calculate(int next) { type Periods (line 152) | private enum Periods { method Periods (line 162) | Periods(String desc) { method calc (line 168) | private static String calc(DatePeriodCalculator.Periods p, Date start,... FILE: src/test/java/cn/ponfee/commons/date/DatePeriodsTest.java class DatePeriodsTest (line 11) | public class DatePeriodsTest { method test2 (line 13) | @Test method test3 (line 33) | @Test method testDateMax (line 51) | @Test method testPeriods (line 72) | @Test method test (line 94) | @Test FILE: src/test/java/cn/ponfee/commons/date/DatesTest.java class DatesTest (line 36) | public class DatesTest { method test (line 42) | @Test method testSimpleDateFormat (line 99) | @Test method testFastDateFormat (line 108) | @Test method testDateFormat (line 117) | @Test method testDateMax (line 144) | @Test method testPeriods (line 165) | @Test method testDuration (line 216) | @Test method testDateString (line 222) | @Test method testStreamMax (line 241) | @Test class DateEntity (line 249) | @Data FILE: src/test/java/cn/ponfee/commons/date/JavaUtilDateFormatTest.java class JavaUtilDateFormatTest (line 25) | public class JavaUtilDateFormatTest { method test0 (line 27) | @Test method test1 (line 113) | @Test method test2 (line 148) | @Test method test (line 212) | @Test method test3 (line 280) | @Test FILE: src/test/java/cn/ponfee/commons/date/LocalDateTimeFormatTest.java class LocalDateTimeFormatTest (line 24) | public class LocalDateTimeFormatTest { method test9 (line 26) | @Test method test8 (line 52) | @Test method test0 (line 81) | @Test method test1 (line 127) | @Test method test2 (line 165) | @Test method test3 (line 206) | @Test method test4 (line 226) | @Test FILE: src/test/java/cn/ponfee/commons/event/EventBusTest.java class EventBusTest (line 6) | public class EventBusTest { class OrderEvent (line 8) | public static class OrderEvent { method OrderEvent (line 11) | public OrderEvent(String message) { method getMessage (line 15) | public String getMessage() { class OrderEventListener (line 20) | public static class OrderEventListener { method listen (line 21) | @Subscribe method listen (line 26) | @Subscribe method main (line 32) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/exception/ThrowablesTest.java class ThrowablesTest (line 15) | public class ThrowablesTest { method test (line 17) | @Test method get0 (line 35) | public static void get0() { method get1 (line 40) | public static void get1() throws Throwable { method get2 (line 45) | public static String get2() throws Throwable { method get3 (line 51) | public static void get3(String a) throws Throwable { method get4 (line 56) | public static String get4(String a) throws Throwable { FILE: src/test/java/cn/ponfee/commons/innerclass/MyInterface.java type MyInterface (line 3) | public interface MyInterface { method doSomething (line 4) | void doSomething(); FILE: src/test/java/cn/ponfee/commons/innerclass/TryUsingAnonymousClass.java class TryUsingAnonymousClass (line 3) | public class TryUsingAnonymousClass { method main (line 5) | public static void main(String[] args) { method useMyInterface (line 9) | public void useMyInterface() { FILE: src/test/java/cn/ponfee/commons/io/BeforeReadInputStreamTest.java class BeforeReadInputStreamTest (line 14) | public class BeforeReadInputStreamTest { method test (line 16) | @Test FILE: src/test/java/cn/ponfee/commons/io/CopyrightTest.java class CopyrightTest (line 32) | public class CopyrightTest { method upsertCopyright (line 39) | @Test method checkCopyright (line 70) | @Test method handleFile (line 90) | private static void handleFile(Consumer consumer) { method isOwnerCode (line 96) | private boolean isOwnerCode(String sourceCode) { FILE: src/test/java/cn/ponfee/commons/io/FileTransformerTest.java class FileTransformerTest (line 5) | public class FileTransformerTest { method test (line 7) | @Test FILE: src/test/java/cn/ponfee/commons/io/FileTypeDetector.java class FileTypeDetector (line 20) | public class FileTypeDetector { method detectFileType (line 66) | public static String detectFileType(File file) throws IOException { method detectFileType (line 70) | public static String detectFileType(byte[] array) { method main (line 84) | public static void main(String[] args) throws IOException { FILE: src/test/java/cn/ponfee/commons/io/FilesTest.java class FilesTest (line 26) | public class FilesTest { method testx (line 28) | @Test method test1 (line 40) | @Test method test0 (line 52) | @Test method test2 (line 62) | @Test method test3 (line 76) | @Test method test4 (line 86) | @Test method test5 (line 115) | @Test method test6 (line 130) | @Test method test7 (line 137) | @Test method test (line 155) | @Test method test8 (line 174) | @Test method testDetect (line 183) | @Test method testDetectFile (line 190) | @Test method detectFile (line 196) | private static void detectFile(String filePath) { method testFormat (line 209) | @Test method main (line 238) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/io/WindowsBomTest.java class WindowsBomTest (line 9) | public class WindowsBomTest { method testhas (line 11) | @Test method testadd (line 19) | @Test method testremove (line 26) | @Test method testaddCharset (line 33) | @Test method testremoveCharset (line 40) | @Test FILE: src/test/java/cn/ponfee/commons/io/WrappedBufferedReaderTest.java class WrappedBufferedReaderTest (line 7) | public class WrappedBufferedReaderTest { method main (line 9) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/jce/DesgitTest.java class DesgitTest (line 26) | public class DesgitTest { method test (line 28) | @Test method test2 (line 44) | @Test method test3 (line 71) | @Test method test4 (line 82) | @Test method test5 (line 117) | @Test method test6 (line 127) | @Test FILE: src/test/java/cn/ponfee/commons/jce/PBECryptorTest.java class PBECryptorTest (line 9) | public class PBECryptorTest { method main (line 11) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/jce/PasswdTest.java class PasswdTest (line 17) | public class PasswdTest { method testCrypt (line 20) | @Test method testPBKDF2_1 (line 46) | @Test method testScrypt (line 76) | @Test method testBcrypt (line 120) | @Test method testScrypt2 (line 154) | @Test method testBcrypt2 (line 163) | @Test method testPBKDF2_2 (line 172) | @Test FILE: src/test/java/cn/ponfee/commons/jce/SCryptTester.java class SCryptTester (line 17) | public class SCryptTester { method scrypt (line 20) | @Test method check (line 42) | @Test method format_0_rp_max (line 50) | @Test method main (line 67) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/jce/security/DHKeyExchangerTest.java class DHKeyExchangerTest (line 11) | public class DHKeyExchangerTest { method main (line 13) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/jce/security/DSASignerTest.java class DSASignerTest (line 10) | public class DSASignerTest { method main (line 12) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/jce/security/ECDHKeyExchangerTest.java class ECDHKeyExchangerTest (line 10) | public class ECDHKeyExchangerTest { method main (line 12) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/jce/security/ECDSASignerTest.java class ECDSASignerTest (line 8) | public class ECDSASignerTest { method main (line 10) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/jce/security/RSAPrivateKeysTest.java class RSAPrivateKeysTest (line 10) | public class RSAPrivateKeysTest { method test1 (line 12) | @Test method test2 (line 33) | @Test FILE: src/test/java/cn/ponfee/commons/json/BooleanPojoTest.java class BooleanPojoTest (line 9) | public class BooleanPojoTest { method isSuccess1 (line 16) | public boolean isSuccess1() { method setSuccess1 (line 20) | public void setSuccess1(boolean success1) { method isSuccess2 (line 24) | public boolean isSuccess2() { method setSuccess2 (line 28) | public void setSuccess2(boolean success2) { method getSuccess3 (line 32) | public Boolean getSuccess3() { method setSuccess3 (line 36) | public void setSuccess3(Boolean success3) { method getSuccess4 (line 40) | public Boolean getSuccess4() { method setSuccess4 (line 44) | public void setSuccess4(Boolean success4) { method main (line 48) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/json/FastJsonUtils.java class FastJsonUtils (line 19) | public class FastJsonUtils { class CustomDateFormatSerializer (line 28) | public static class CustomDateFormatSerializer implements ObjectSerial... method write (line 29) | @Override class CustomDateFormatDeserializer (line 39) | public static class CustomDateFormatDeserializer implements ObjectDese... method deserialze (line 44) | @Override method getFastMatchToken (line 55) | @Override class DateBean (line 61) | public static class DateBean { method DateBean (line 65) | public DateBean() {} method DateBean (line 67) | public DateBean(Date date) { method getDate (line 71) | public Date getDate() { method setDate (line 75) | public void setDate(Date date) { method toString (line 79) | @Override method main (line 85) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/json/JacksonIgnore.java class JacksonIgnore (line 12) | public class JacksonIgnore { method main (line 14) | public static void main(String[] args) throws Exception { type FieldFilterMixIn (line 24) | @JsonFilter("fieldFilter") FILE: src/test/java/cn/ponfee/commons/json/JsonsTest.java class JsonsTest (line 26) | @SuppressWarnings("unchecked") method testFastjsonMoney (line 29) | @Test method test1 (line 63) | @Test method test2 (line 75) | @Test method test3 (line 84) | @Test method test4 (line 97) | @Test method test5 (line 108) | @Test method test6 (line 119) | @Test method test7 (line 148) | @Test class StringPlain (line 158) | public static class StringPlain implements Serializable { method getSb (line 162) | public StringBuilder getSb() { method setSb (line 166) | public void setSb(StringBuilder sb) { method toString (line 170) | @Override class Person (line 176) | @Data FILE: src/test/java/cn/ponfee/commons/loadbalance/AbstractLoadBalance.java class AbstractLoadBalance (line 8) | public abstract class AbstractLoadBalance { method select (line 10) | public abstract String select(); FILE: src/test/java/cn/ponfee/commons/loadbalance/HashedLoadBalance.java class HashedLoadBalance (line 14) | public class HashedLoadBalance extends AbstractLoadBalance { method HashedLoadBalance (line 17) | public HashedLoadBalance(Map serverMap) { method select (line 21) | @Override method select (line 26) | public String select(String invokeIp) { FILE: src/test/java/cn/ponfee/commons/loadbalance/LeastActiveLoadBalance.java class LeastActiveLoadBalance (line 14) | public class LeastActiveLoadBalance extends AbstractLoadBalance { method LeastActiveLoadBalance (line 19) | public LeastActiveLoadBalance(Map serverMap) { method select (line 30) | @Override method begin (line 40) | public void begin(String server) { method end (line 49) | public void end(String server) { FILE: src/test/java/cn/ponfee/commons/loadbalance/RandomLoadBalance.java class RandomLoadBalance (line 13) | public class RandomLoadBalance extends AbstractLoadBalance { method RandomLoadBalance (line 16) | public RandomLoadBalance(Map serverMap) { method select (line 20) | @Override FILE: src/test/java/cn/ponfee/commons/loadbalance/RoundRobinLoadBalance.java class RoundRobinLoadBalance (line 13) | public class RoundRobinLoadBalance extends AbstractLoadBalance { method RoundRobinLoadBalance (line 17) | public RoundRobinLoadBalance(Map serverMap) { method select (line 21) | @Override FILE: src/test/java/cn/ponfee/commons/loadbalance/WeightRandomLoadBalance.java class WeightRandomLoadBalance (line 15) | public class WeightRandomLoadBalance extends AbstractLoadBalance { method WeightRandomLoadBalance (line 18) | public WeightRandomLoadBalance(Map serverMap) { method select (line 28) | @Override FILE: src/test/java/cn/ponfee/commons/loadbalance/WeightRoundRobinLoadBalance.java class WeightRoundRobinLoadBalance (line 15) | public class WeightRoundRobinLoadBalance extends AbstractLoadBalance { method WeightRoundRobinLoadBalance (line 20) | public WeightRoundRobinLoadBalance(Map serverMap) { method select (line 30) | @Override FILE: src/test/java/cn/ponfee/commons/log/JclLogger.java class JclLogger (line 9) | public class JclLogger { method main (line 12) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/log/JulLogger.java class JulLogger (line 11) | public class JulLogger { method main (line 14) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/log/Log4jLogger.java class Log4jLogger (line 8) | public class Log4jLogger { method main (line 11) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/log/Slf4jLogger.java class Slf4jLogger (line 13) | public class Slf4jLogger { method main (line 16) | public static void main(String[] args) throws IOException { FILE: src/test/java/cn/ponfee/commons/model/ParamsTest.java class ParamsTest (line 10) | public class ParamsTest { method test1 (line 12) | @Test FILE: src/test/java/cn/ponfee/commons/mybatis/SQLMapperTest.java class SQLMapperTest (line 9) | public class SQLMapperTest { method selectScroll (line 11) | @DataSourceNaming("'primary'") FILE: src/test/java/cn/ponfee/commons/reflect/ClassA.java class ClassA (line 8) | public abstract class ClassA { method test1 (line 12) | public void test1(T arg) { method test2 (line 15) | public T test2() { class ClassB (line 19) | public static class ClassB extends ClassA { method main (line 23) | public static void main(String[] args) throws Exception { FILE: src/test/java/cn/ponfee/commons/reflect/FieldsTest.java class FieldsTest (line 10) | public class FieldsTest { class ClassA (line 12) | public static class ClassA extends BaseEntity.Creator { method main (line 17) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/reflect/GenericExtendsTest.java class GenericExtendsTest (line 7) | public class GenericExtendsTest { class ClassA (line 9) | public static class ClassA { class ClassB (line 12) | public static abstract class ClassB extends ClassA implements Li... type InterfaceC (line 15) | public static interface InterfaceC extends List, java.io.Seriali... method main (line 18) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/reflect/GenericTest.java class GenericTest (line 23) | public class GenericTest { method test0 (line 25) | @Test method test1 (line 43) | @Test method test3 (line 74) | @Test method test4 (line 82) | @Test method test5 (line 89) | @Test method test6 (line 99) | @Test class BeanClass (line 129) | public static class BeanClass extends BaseEntity.Creator { class BeanClass2 (line 133) | public static class BeanClass2 extends BaseEntity.Creator> { class A (line 137) | public static class A { method getI (line 141) | public int getI() { method setI (line 145) | public void setI(int i) { method getS (line 149) | public String getS() { method setS (line 153) | public void setS(String s) { class B (line 158) | public static class B { method getList (line 162) | public List getList() { method setList (line 166) | public void setList(List list) { method getF1 (line 170) | public List getF1() { method setF1 (line 174) | public void setF1(List f1) { FILE: src/test/java/cn/ponfee/commons/reflect/GenericTest2.java class GenericTest2 (line 11) | public class GenericTest2 { class QueryParams (line 12) | public static abstract class QueryParams { method getType (line 15) | public String getType() { method setType (line 19) | public void setType(String type) { class LimitedQueryParams (line 24) | public static class LimitedQueryParams extends QueryParams { method getLimit (line 27) | public int getLimit() { method setLimit (line 31) | public void setLimit(int limit) { class QueryExecutor (line 36) | public static abstract class QueryExecutor { method query (line 37) | public abstract String query(Q query); class DatabaseQueryExecutor (line 40) | public static class DatabaseQueryExecutor extends QueryExecutor clazz) { FILE: src/test/java/cn/ponfee/commons/serial/JacksonObjectMapperTest.java class JacksonObjectMapperTest (line 24) | public class JacksonObjectMapperTest { method test1 (line 28) | @Test method test2 (line 39) | @Test method test3 (line 50) | @Test class Article (line 70) | public static class Article implements Serializable { method Article (line 96) | public Article() {} method Article (line 98) | public Article(int id, String title, String content) { method getId (line 105) | public int getId() { method setId (line 109) | public void setId(int id) { method getTitle (line 113) | public String getTitle() { method setTitle (line 117) | public void setTitle(String title) { method getContent (line 121) | public String getContent() { method setContent (line 125) | public void setContent(String content) { method getEmail (line 129) | public String getEmail() { method setEmail (line 133) | public void setEmail(String email) { method getCreateDate (line 137) | public Date getCreateDate() { method setCreateDate (line 141) | public void setCreateDate(Date createDate) { method getUpdateDate (line 145) | public Date getUpdateDate() { method setUpdateDate (line 149) | public void setUpdateDate(Date updateDate) { method toString (line 153) | @Override FILE: src/test/java/cn/ponfee/commons/serial/PersonProtobuf.java class PersonProtobuf (line 6) | public final class PersonProtobuf { method PersonProtobuf (line 7) | private PersonProtobuf() {} method registerAllExtensions (line 8) | public static void registerAllExtensions( method registerAllExtensions (line 12) | public static void registerAllExtensions( type PhoneType (line 20) | public enum PhoneType method getNumber (line 51) | public final int getNumber() { method valueOf (line 62) | @java.lang.Deprecated method forNumber (line 67) | public static PhoneType forNumber(int value) { method internalGetValueMap (line 76) | public static com.google.protobuf.Internal.EnumLiteMap method findValueByNumber (line 83) | public PhoneType findValueByNumber(int number) { method getValueDescriptor (line 88) | public final com.google.protobuf.Descriptors.EnumValueDescriptor method getDescriptorForType (line 92) | public final com.google.protobuf.Descriptors.EnumDescriptor method getDescriptor (line 96) | public static final com.google.protobuf.Descriptors.EnumDescriptor method valueOf (line 103) | public static PhoneType valueOf( method PhoneType (line 117) | private PhoneType(int value) { type PersonOrBuilder (line 124) | public interface PersonOrBuilder extends method getId (line 131) | int getId(); method getName (line 136) | java.lang.String getName(); method getNameBytes (line 140) | com.google.protobuf.ByteString method getAge (line 146) | int getAge(); method hasAddr (line 151) | boolean hasAddr(); method getAddr (line 155) | cn.ponfee.commons.serial.PersonProtobuf.Addr getAddr(); method getAddrOrBuilder (line 159) | cn.ponfee.commons.serial.PersonProtobuf.AddrOrBuilder getAddrOrBuild... method getPhoneList (line 164) | java.util.List method getPhone (line 169) | cn.ponfee.commons.serial.PersonProtobuf.Phone getPhone(int index); method getPhoneCount (line 173) | int getPhoneCount(); method getPhoneOrBuilderList (line 177) | java.util.List bui... method Person (line 197) | private Person() { method getUnknownFields (line 202) | @java.lang.Override method Person (line 207) | private Person( method getDescriptor (line 286) | public static final com.google.protobuf.Descriptors.Descriptor method internalGetFieldAccessorTable (line 291) | @java.lang.Override method getId (line 305) | public int getId() { method getName (line 314) | public java.lang.String getName() { method getNameBytes (line 329) | public com.google.protobuf.ByteString method getAge (line 348) | public int getAge() { method hasAddr (line 357) | public boolean hasAddr() { method getAddr (line 363) | public cn.ponfee.commons.serial.PersonProtobuf.Addr getAddr() { method getAddrOrBuilder (line 369) | public cn.ponfee.commons.serial.PersonProtobuf.AddrOrBuilder getAddr... method getPhoneList (line 378) | public java.util.List... method getPhoneOrBuilderList (line 384) | public java.util.List parser() { method getParserForType (line 1351) | @java.lang.Override method getDefaultInstanceForType (line 1356) | @java.lang.Override type AddrOrBuilder (line 1363) | public interface AddrOrBuilder extends method getContry (line 1370) | java.lang.String getContry(); method getContryBytes (line 1374) | com.google.protobuf.ByteString method getCity (line 1380) | java.lang.String getCity(); method getCityBytes (line 1384) | com.google.protobuf.ByteString class Addr (line 1390) | public static final class Addr extends method Addr (line 1396) | private Addr(com.google.protobuf.GeneratedMessageV3.Builder build... method Addr (line 1399) | private Addr() { method getUnknownFields (line 1404) | @java.lang.Override method Addr (line 1409) | private Addr( method getDescriptor (line 1459) | public static final com.google.protobuf.Descriptors.Descriptor method internalGetFieldAccessorTable (line 1464) | @java.lang.Override method getContry (line 1477) | public java.lang.String getContry() { method getContryBytes (line 1492) | public com.google.protobuf.ByteString method getCity (line 1511) | public java.lang.String getCity() { method getCityBytes (line 1526) | public com.google.protobuf.ByteString method isInitialized (line 1541) | @java.lang.Override method writeTo (line 1551) | @java.lang.Override method getSerializedSize (line 1563) | @java.lang.Override method equals (line 1580) | @java.lang.Override method hashCode (line 1598) | @java.lang.Override method parseFrom (line 1614) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseFrom( method parseFrom (line 1619) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseFrom( method parseFrom (line 1625) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseFrom( method parseFrom (line 1630) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseFrom( method parseFrom (line 1636) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseFrom... method parseFrom (line 1640) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseFrom( method parseFrom (line 1646) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseFrom... method parseFrom (line 1651) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseFrom( method parseDelimitedFrom (line 1658) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseDeli... method parseDelimitedFrom (line 1663) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseDeli... method parseFrom (line 1670) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseFrom( method parseFrom (line 1676) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr parseFrom( method newBuilderForType (line 1684) | @java.lang.Override method newBuilder (line 1686) | public static Builder newBuilder() { method newBuilder (line 1689) | public static Builder newBuilder(cn.ponfee.commons.serial.PersonProt... method toBuilder (line 1692) | @java.lang.Override method newBuilderForType (line 1698) | @java.lang.Override class Builder (line 1707) | public static final class Builder extends method getDescriptor (line 1711) | public static final com.google.protobuf.Descriptors.Descriptor method internalGetFieldAccessorTable (line 1716) | @java.lang.Override method Builder (line 1725) | private Builder() { method Builder (line 1729) | private Builder( method maybeForceBuilderInitialization (line 1734) | private void maybeForceBuilderInitialization() { method clear (line 1739) | @java.lang.Override method getDescriptorForType (line 1749) | @java.lang.Override method getDefaultInstanceForType (line 1755) | @java.lang.Override method build (line 1760) | @java.lang.Override method buildPartial (line 1769) | @java.lang.Override method clone (line 1778) | @java.lang.Override method setField (line 1782) | @java.lang.Override method clearField (line 1788) | @java.lang.Override method clearOneof (line 1793) | @java.lang.Override method setRepeatedField (line 1798) | @java.lang.Override method addRepeatedField (line 1804) | @java.lang.Override method mergeFrom (line 1810) | @java.lang.Override method mergeFrom (line 1820) | public Builder mergeFrom(cn.ponfee.commons.serial.PersonProtobuf.A... method isInitialized (line 1835) | @java.lang.Override method mergeFrom (line 1840) | @java.lang.Override method getContry (line 1863) | public java.lang.String getContry() { method getContryBytes (line 1878) | public com.google.protobuf.ByteString method setContry (line 1894) | public Builder setContry( method clearContry (line 1907) | public Builder clearContry() { method setContryBytes (line 1916) | public Builder setContryBytes( method getCity (line 1932) | public java.lang.String getCity() { method getCityBytes (line 1947) | public com.google.protobuf.ByteString method setCity (line 1963) | public Builder setCity( method clearCity (line 1976) | public Builder clearCity() { method setCityBytes (line 1985) | public Builder setCityBytes( method setUnknownFields (line 1996) | @java.lang.Override method mergeUnknownFields (line 2002) | @java.lang.Override method getDefaultInstance (line 2018) | public static cn.ponfee.commons.serial.PersonProtobuf.Addr getDefaul... method parsePartialFrom (line 2024) | @java.lang.Override method parser (line 2033) | public static com.google.protobuf.Parser parser() { method getParserForType (line 2037) | @java.lang.Override method getDefaultInstanceForType (line 2042) | @java.lang.Override type PhoneOrBuilder (line 2049) | public interface PhoneOrBuilder extends method getNumber (line 2056) | java.lang.String getNumber(); method getNumberBytes (line 2060) | com.google.protobuf.ByteString method getTypeValue (line 2066) | int getTypeValue(); method getType (line 2070) | cn.ponfee.commons.serial.PersonProtobuf.PhoneType getType(); class Phone (line 2075) | public static final class Phone extends method Phone (line 2081) | private Phone(com.google.protobuf.GeneratedMessageV3.Builder buil... method Phone (line 2084) | private Phone() { method getUnknownFields (line 2089) | @java.lang.Override method Phone (line 2094) | private Phone( method getDescriptor (line 2144) | public static final com.google.protobuf.Descriptors.Descriptor method internalGetFieldAccessorTable (line 2149) | @java.lang.Override method getNumber (line 2162) | public java.lang.String getNumber() { method getNumberBytes (line 2177) | public com.google.protobuf.ByteString method getTypeValue (line 2196) | public int getTypeValue() { method getType (line 2202) | public cn.ponfee.commons.serial.PersonProtobuf.PhoneType getType() { method isInitialized (line 2209) | @java.lang.Override method writeTo (line 2219) | @java.lang.Override method getSerializedSize (line 2231) | @java.lang.Override method equals (line 2249) | @java.lang.Override method hashCode (line 2266) | @java.lang.Override method parseFrom (line 2282) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseFrom( method parseFrom (line 2287) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseFrom( method parseFrom (line 2293) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseFrom( method parseFrom (line 2298) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseFrom( method parseFrom (line 2304) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseFro... method parseFrom (line 2308) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseFrom( method parseFrom (line 2314) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseFro... method parseFrom (line 2319) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseFrom( method parseDelimitedFrom (line 2326) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseDel... method parseDelimitedFrom (line 2331) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseDel... method parseFrom (line 2338) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseFrom( method parseFrom (line 2344) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone parseFrom( method newBuilderForType (line 2352) | @java.lang.Override method newBuilder (line 2354) | public static Builder newBuilder() { method newBuilder (line 2357) | public static Builder newBuilder(cn.ponfee.commons.serial.PersonProt... method toBuilder (line 2360) | @java.lang.Override method newBuilderForType (line 2366) | @java.lang.Override class Builder (line 2375) | public static final class Builder extends method getDescriptor (line 2379) | public static final com.google.protobuf.Descriptors.Descriptor method internalGetFieldAccessorTable (line 2384) | @java.lang.Override method Builder (line 2393) | private Builder() { method Builder (line 2397) | private Builder( method maybeForceBuilderInitialization (line 2402) | private void maybeForceBuilderInitialization() { method clear (line 2407) | @java.lang.Override method getDescriptorForType (line 2417) | @java.lang.Override method getDefaultInstanceForType (line 2423) | @java.lang.Override method build (line 2428) | @java.lang.Override method buildPartial (line 2437) | @java.lang.Override method clone (line 2446) | @java.lang.Override method setField (line 2450) | @java.lang.Override method clearField (line 2456) | @java.lang.Override method clearOneof (line 2461) | @java.lang.Override method setRepeatedField (line 2466) | @java.lang.Override method addRepeatedField (line 2472) | @java.lang.Override method mergeFrom (line 2478) | @java.lang.Override method mergeFrom (line 2488) | public Builder mergeFrom(cn.ponfee.commons.serial.PersonProtobuf.P... method isInitialized (line 2502) | @java.lang.Override method mergeFrom (line 2507) | @java.lang.Override method getNumber (line 2530) | public java.lang.String getNumber() { method getNumberBytes (line 2545) | public com.google.protobuf.ByteString method setNumber (line 2561) | public Builder setNumber( method clearNumber (line 2574) | public Builder clearNumber() { method setNumberBytes (line 2583) | public Builder setNumberBytes( method getTypeValue (line 2599) | public int getTypeValue() { method setTypeValue (line 2605) | public Builder setTypeValue(int value) { method getType (line 2613) | public cn.ponfee.commons.serial.PersonProtobuf.PhoneType getType() { method setType (line 2621) | public Builder setType(cn.ponfee.commons.serial.PersonProtobuf.Pho... method clearType (line 2633) | public Builder clearType() { method setUnknownFields (line 2639) | @java.lang.Override method mergeUnknownFields (line 2645) | @java.lang.Override method getDefaultInstance (line 2661) | public static cn.ponfee.commons.serial.PersonProtobuf.Phone getDefau... method parsePartialFrom (line 2667) | @java.lang.Override method parser (line 2676) | public static com.google.protobuf.Parser parser() { method getParserForType (line 2680) | @java.lang.Override method getDefaultInstanceForType (line 2685) | @java.lang.Override method getDescriptor (line 2708) | public static com.google.protobuf.Descriptors.FileDescriptor method assignDescriptors (line 2727) | public com.google.protobuf.ExtensionRegistry assignDescriptors( FILE: src/test/java/cn/ponfee/commons/serial/ProtobufClient.java class ProtobufClient (line 15) | public class ProtobufClient { method main (line 17) | public static void main(String[] args) throws IOException { FILE: src/test/java/cn/ponfee/commons/serial/ProtobufServer.java class ProtobufServer (line 10) | public class ProtobufServer { method main (line 12) | public static void main(String[] args) throws IOException { FILE: src/test/java/cn/ponfee/commons/serial/SerializerTester.java class SerializerTester (line 16) | public class SerializerTester { method setUp (line 19) | @Before method testKryo (line 24) | @Test method testJdk (line 53) | @Test method testJson (line 81) | @Test method testHessian (line 109) | @Test method testFst (line 137) | @Test method testString (line 165) | @Test method testProtostuff (line 192) | @Test method testCompress (line 220) | @Test method testDeserializer (line 237) | public void testDeserializer() throws IOException { FILE: src/test/java/cn/ponfee/commons/util/BitSetTest.java class BitSetTest (line 8) | public class BitSetTest { method main (line 10) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/util/BloomFilterTest.java class BloomFilterTest (line 12) | public class BloomFilterTest { method main (line 18) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/util/ELParserTest.java class ELParserTest (line 16) | public class ELParserTest { method test1 (line 22) | @Test method test2 (line 31) | @Test method test3 (line 40) | @Test method test4 (line 49) | @Test method test5 (line 61) | @Test FILE: src/test/java/cn/ponfee/commons/util/EscapeRegexTest.java class EscapeRegexTest (line 7) | public class EscapeRegexTest { method test1 (line 12) | @Test method test2 (line 21) | @Test method escapeExprSpecialWord (line 38) | public static String escapeExprSpecialWord(String keyword) { FILE: src/test/java/cn/ponfee/commons/util/FibonacciTest.java class FibonacciTest (line 6) | public class FibonacciTest { method fibonacci (line 8) | public static int fibonacci(int i) { method main (line 12) | public static void main(String[] args) { FILE: src/test/java/cn/ponfee/commons/util/ForEachTest.java class ForEachTest (line 7) | public class ForEachTest { method main (line 9) | public static void main(String[] args) { method foreach (line 14) | private static void foreach() { method forEachRemaining (line 21) | private static void forEachRemaining() { FILE: src/test/java/cn/ponfee/commons/util/IdcardResolverTest.java class IdcardResolverTest (line 11) | public class IdcardResolverTest { method test1 (line 13) | @Test method test2 (line 20) | @Test FILE: src/test/java/cn/ponfee/commons/util/MathsTest.java class MathsTest (line 15) | public class MathsTest { method test1 (line 17) | @Test method test2 (line 44) | @Test method test3 (line 59) | @Test method test31 (line 69) | @Test method test32 (line 76) | @Test method test33 (line 83) | @Test method test34 (line 90) | @Test method test4 (line 98) | @Test method isBorderline (line 113) | public static boolean isBorderline(int value, int start, int end) { method find (line 117) | public static int find(int value) { method calculate (line 150) | public static int calculate(int n) { FILE: src/test/java/cn/ponfee/commons/util/MoneyTest.java class MoneyTest (line 16) | public class MoneyTest { method testx (line 19) | @Test method test0 (line 24) | @Test method test1 (line 69) | @Test method test2 (line 92) | @Test method test3 (line 103) | @Test FILE: src/test/java/cn/ponfee/commons/util/ObjectUtilsTest.java class ObjectUtilsTest (line 19) | public class ObjectUtilsTest { method test0 (line 25) | @Test method test1 (line 41) | @Test method test2 (line 48) | @Test method test3 (line 55) | @Test method test4 (line 62) | @Test method test5 (line 71) | @Test method test6 (line 80) | @Test method test7 (line 88) | @Test method get (line 96) | public static Object get(String key) { class Singleton (line 109) | public static class Singleton { method Singleton (line 112) | private Singleton() {} method getInstance (line 114) | public static Singleton getInstance() { class Helper (line 127) | class Helper { class Foo (line 130) | class Foo { method getHelper (line 139) | public Helper getHelper() { method createHelper (line 144) | private final void createHelper() { method execute (line 162) | public static void execute(int parallelism, Runnable command, FILE: src/test/java/cn/ponfee/commons/util/ProxyTest.java class ProxyTest (line 15) | public class ProxyTest { method test (line 17) | @Test method findById (line 29) | public static User findById(Integer id) { class User (line 34) | @Data method test2 (line 46) | @Test method createProxyBean (line 59) | private Object createProxyBean(final Object targetBean) { class TargetBean (line 81) | public static class TargetBean { method TargetBean (line 82) | public TargetBean() { method say (line 86) | public void say() { FILE: src/test/java/cn/ponfee/commons/util/RegexUtilsTest.java class RegexUtilsTest (line 8) | public class RegexUtilsTest { method testIsIPv4 (line 10) | @Test method testIsIPv6 (line 17) | @Test FILE: src/test/java/cn/ponfee/commons/util/SqlUtilsTest.java class SqlUtilsTest (line 7) | public class SqlUtilsTest { method trimSql (line 9) | @Test method limitMsql (line 19) | @Test method limitPgsql (line 28) | @Test method limitOracle (line 37) | @Test method limitSqlServer (line 51) | @Test method limitHive (line 59) | @Test FILE: src/test/java/cn/ponfee/commons/util/StreamForkerTest.java class StreamForkerTest (line 7) | public class StreamForkerTest { method main (line 9) | public static void main(String[] args) throws Exception { FILE: src/test/java/cn/ponfee/commons/util/StringsTest.java class StringsTest (line 19) | public class StringsTest { method testWildcardMatch (line 21) | @Test method testToSeparatedName (line 32) | @Test FILE: src/test/java/cn/ponfee/commons/util/TestSerialize.java class TestSerialize (line 14) | public class TestSerialize { type E (line 16) | public static enum E { method TestSerialize (line 20) | public TestSerialize(byte a, Byte b, int c, Integer d, float f, Float ... method getA (line 41) | public byte getA() { method setA (line 45) | public void setA(byte a) { method getB (line 49) | public Byte getB() { method setB (line 53) | public void setB(Byte b) { method getC (line 57) | public int getC() { method setC (line 61) | public void setC(int c) { method getD (line 65) | public Integer getD() { method setD (line 69) | public void setD(Integer d) { method getF (line 73) | public float getF() { method setF (line 77) | public void setF(float f) { method getG (line 81) | public Float getG() { method setG (line 85) | public void setG(Float g) { method getH (line 89) | public E getH() { method setH (line 93) | public void setH(E h) { method getI (line 97) | public Date getI() { method setI (line 101) | public void setI(Date i) { method toString (line 105) | @Override method main (line 110) | public static void main(String[] args) { FILE: src/test/java/test/Cat.java class Cat (line 9) | public class Cat { method main (line 10) | public static void main(String[] args) throws IOException { FILE: src/test/java/test/CsvWrappedCharTest.java class CsvWrappedCharTest (line 16) | public class CsvWrappedCharTest { method main (line 18) | public static void main(String[] args) throws IOException { FILE: src/test/java/test/CustomClassLoader.java class CustomClassLoader (line 9) | public class CustomClassLoader extends ClassLoader { method CustomClassLoader (line 13) | public CustomClassLoader() { method CustomClassLoader (line 17) | public CustomClassLoader(File classFile) throws IOException { method findClass (line 21) | protected Class findClass(String name) throws ClassNotFoundException { method main (line 25) | public static void main(String[] args) throws Exception { FILE: src/test/java/test/GuavaCacheRefreshTest.java class GuavaCacheRefreshTest (line 19) | public class GuavaCacheRefreshTest { class SkuCache (line 20) | public class SkuCache { method getSkuId (line 25) | public String getSkuId() { method getSkuCode (line 29) | public String getSkuCode() { method getRealQuantity (line 33) | public Long getRealQuantity() { method setSkuId (line 37) | public void setSkuId(String skuId) { method setSkuCode (line 41) | public void setSkuCode(String skuCode) { method setRealQuantity (line 45) | public void setRealQuantity(Long realQuantity) { method testCacheUse (line 54) | @Test method getValue (line 103) | private void getValue(LoadingCache loadingCache) thr... FILE: src/test/java/test/Test1.java class Test1 (line 42) | public class Test1 { method main (line 44) | public static void main(String[] args) throws InterruptedException, Ex... method test (line 95) | @Test method test2 (line 141) | @Test method test3 (line 155) | @Test method test (line 172) | public boolean test(Integer i) { method test5 (line 175) | @Test method test6 (line 195) | @Test FILE: src/test/java/test/Test2.java class Test2 (line 38) | public class Test2 { method test0 (line 40) | @Test method test1 (line 49) | @Test method test2 (line 66) | @SuppressWarnings("rawtypes") method test3 (line 75) | @Test method test4 (line 85) | @Test method test5 (line 90) | @Test @Ignore method test6 (line 95) | @Test method test10 (line 105) | @Test method test11 (line 116) | @Test @Ignore method test13 (line 133) | @Test method test14 (line 149) | @Test method test15 (line 179) | @Test method test16 (line 188) | @Test method test18 (line 194) | @Test method test19 (line 204) | @Test method test20 (line 214) | @Test method test21 (line 226) | @Test method test22 (line 244) | @Test method test23 (line 262) | @Test method test24 (line 272) | @Test method test25 (line 285) | @Test method test26 (line 299) | @Test method test27 (line 333) | @Test method test28 (line 343) | @Test method test29 (line 352) | @Test method test30 (line 358) | @Test() method tes31 (line 373) | @Test method tes32 (line 397) | @Test method tes33 (line 407) | @Test FILE: src/test/java/test/Test3.java class Test3 (line 10) | public class Test3 { class Animal (line 12) | public static abstract class Animal implements java.io.Serializable { method getName (line 17) | public String getName() { method setName (line 21) | public void setName(String name) { method getAge (line 25) | public int getAge() { method setAge (line 29) | public void setAge(int age) { class Dog (line 34) | public static class Dog extends Animal { method getExt1 (line 38) | public String getExt1() { method setExt1 (line 42) | public void setExt1(String ext1) { type A (line 48) | public static interface A { method fromByteArray (line 49) | static A fromByteArray(byte[] arg) { class B (line 54) | public static class B implements A { method B (line 55) | public B() { method fromByteArray (line 59) | static B fromByteArray(byte[] arg) { class C (line 64) | public static class C implements A { method C (line 65) | public C() { method fromByteArray (line 69) | static C fromByteArray(byte[] arg) { method main (line 74) | public static void main(String[] args) throws Exception { FILE: src/test/java/test/TestBean.java class TestBean (line 7) | public class TestBean implements Serializable { method TestBean (line 16) | public TestBean() {} method TestBean (line 18) | public TestBean(int i, Long l, String s) { method getI (line 25) | public int getI() { method setI (line 29) | public void setI(int i) { method getL (line 33) | public Long getL() { method setL (line 37) | public void setL(Long l) { method getS (line 41) | public String getS() { method toString (line 45) | @Override method setS (line 50) | public void setS(String s) { method getStr (line 54) | public String getStr() { method setStr (line 58) | public void setStr(String str) { method tableSizeFor (line 61) | static final int tableSizeFor(int cap) { method main (line 71) | public static void main(String[] args) { FILE: src/test/java/test/TestSynthetic.java class TestSynthetic (line 12) | public class TestSynthetic extends TestCase { method testSynthetic (line 14) | public void testSynthetic() { class User (line 27) | class User { method User (line 31) | private User() {} method User (line 33) | private User(int age, String name) { method getAge (line 38) | private int getAge() { method setAge (line 42) | private void setAge(int age) { method getName (line 46) | private String getName() { method setName (line 50) | private void setName(String name) { FILE: src/test/java/test/ThrowEggsTest.java class ThrowEggsTest (line 4) | public class ThrowEggsTest { method countMinSetp (line 6) | public int countMinSetp(int egg, int num) { method main (line 31) | public static void main(String[] args) { FILE: src/test/java/test/concurrent/AsnycBatchProcessorTest.java class AsnycBatchProcessorTest (line 11) | public class AsnycBatchProcessorTest { method test1 (line 13) | @Test method test2 (line 63) | @Test FILE: src/test/java/test/concurrent/ForkJoinPoolTest1.java class PrintTask (line 8) | class PrintTask extends RecursiveAction { method PrintTask (line 17) | PrintTask(int start, int end) { method compute (line 22) | @Override class ForkJoinPoolTest1 (line 43) | public class ForkJoinPoolTest1 { method main (line 48) | public static void main(String[] args) throws Exception { FILE: src/test/java/test/concurrent/ForkJoinPoolTest2.java class CalTask (line 8) | class CalTask extends RecursiveTask { method CalTask (line 18) | public CalTask(int[] arr, int start, int end) { method compute (line 24) | @Override class ForkJoinPoolTest2 (line 48) | public class ForkJoinPoolTest2 { method main (line 49) | public static void main(String[] args) throws Exception { FILE: src/test/java/test/concurrent/InheritableThreadLocalTest.java class InheritableThreadLocalTest (line 3) | public class InheritableThreadLocalTest { method initialValue (line 6) | protected StringBuffer initialValue() { method main (line 11) | public static void main(String[] args) { FILE: src/test/java/test/concurrent/InheritableThreadLocalTest2.java class InheritableThreadLocalTest2 (line 5) | public class InheritableThreadLocalTest2 { method initialValue (line 9) | protected String initialValue() { method main (line 14) | public static void main(String[] args) { FILE: src/test/java/test/concurrent/ReadWriteLock.java class ReadWriteLock (line 3) | public class ReadWriteLock { method ReadWriteLock (line 10) | private ReadWriteLock() {} method create (line 12) | public static ReadWriteLock create() { method readLock (line 17) | public synchronized void readLock() throws InterruptedException { method readUnlock (line 27) | public synchronized void readUnlock() { method writeLock (line 37) | public synchronized void writeLock() throws InterruptedException { method writeUnlock (line 54) | public synchronized void writeUnlock() { FILE: src/test/java/test/concurrent/TestThread.java class TestThread (line 16) | public class TestThread { method loop (line 25) | public static void loop(int num) { method toDate (line 57) | public static Date toDate(String dateStr, String pattern) { method randomBirthday (line 61) | private static String randomBirthday() { method main (line 67) | public static void main(String[] args) throws InterruptedException { FILE: src/test/java/test/concurrent/TheadPoolExecTester.java class TheadPoolExecTester (line 10) | public class TheadPoolExecTester { method main (line 19) | public static void main(String[] args) { class Caller (line 27) | private static final class Caller implements Callable { method call (line 29) | @Override FILE: src/test/java/test/concurrent/TtlTest.java class TtlTest (line 11) | public class TtlTest { method main (line 15) | public static void main(String[] args) { method withoutThreadPool (line 23) | public static void withoutThreadPool(int c) { method withThreadPool (line 32) | public static void withThreadPool(int c) { method threadRun (line 41) | public static void threadRun(Integer var1, Integer var2) { method threadPoolExecute (line 45) | public static void threadPoolExecute(Integer var1, Integer var2) { method assert1 (line 49) | public static void assert1(Integer var1, Integer var2) { class MyContextHolder (line 53) | public static class MyContextHolder { method set (line 58) | public static void set(Integer data) { method get (line 62) | public static Integer get() { FILE: src/test/java/test/constraint/TestConstraint.java class TestConstraint (line 9) | public class TestConstraint { method main (line 22) | public static void main(String[] args) { FILE: src/test/java/test/disruptor/InParkingDataEvent.java class InParkingDataEvent (line 3) | public class InParkingDataEvent { method setCarLicense (line 6) | public void setCarLicense(String carLicense) { method getCarLicense (line 10) | public String getCarLicense() { FILE: src/test/java/test/disruptor/Main.java class Main (line 17) | @SuppressWarnings({ "unchecked", "deprecation" }) method main (line 22) | public static void main(String[] args) throws InterruptedException { FILE: src/test/java/test/disruptor/ParkingDataInDbHandler.java class ParkingDataInDbHandler (line 8) | public class ParkingDataInDbHandler implements EventHandler extends LinkedHashMap { method LruCache (line 58) | public LruCache(final int maxEntries) { method removeEldestEntry (line 63) | @Override method SheetHandler (line 69) | private SheetHandler(SharedStrings sst) { method startElement (line 90) | @Override method characters (line 118) | @Override method endElement (line 124) | @Override method main (line 157) | public static void main(String[] args) throws Exception { FILE: src/test/java/test/extract/ExcelExtractorTest.java class ExcelExtractorTest (line 19) | public class ExcelExtractorTest { method testXLS1 (line 21) | @Test method testXLS2 (line 31) | @Test method testXLSX1 (line 41) | @Test method testXLSX2 (line 51) | @Test method testFile (line 61) | @Test method testInput (line 70) | @Test method test1 (line 85) | @Test method test2 (line 94) | @Test method test3 (line 103) | @Test method testCsvPath (line 112) | @Test method testCsv1 (line 122) | @Test method testCsv2 (line 131) | @Test method test6 (line 139) | @Test method test (line 147) | private void test(String filename, boolean streaming) throws FileNotFo... FILE: src/test/java/test/extract/TestHSSFStreaming.java class TestHSSFStreaming (line 19) | public class TestHSSFStreaming { method test1 (line 23) | @Test FILE: src/test/java/test/extract/XLSEventTest.java class XLSEventTest (line 27) | public class XLSEventTest method processRecord (line 35) | @Override method main (line 89) | public static void main(String[] args) throws IOException { FILE: src/test/java/test/extract/XLSX2CSV.java class XLSX2CSV (line 72) | public class XLSX2CSV { class SheetToCSV (line 78) | private class SheetToCSV implements SheetContentsHandler { method outputMissingRows (line 83) | private void outputMissingRows(int number) { method startRow (line 92) | @Override method endRow (line 102) | @Override method cell (line 111) | @Override method XLSX2CSV (line 168) | public XLSX2CSV(OPCPackage pkg, PrintStream output, int minColumns) { method processSheet (line 187) | public void processSheet( method process (line 211) | public void process() throws IOException, OpenXML4JException, SAXExcep... method main (line 228) | public static void main(String[] args) throws Exception { FILE: src/test/java/test/extract/XLSXEventTest.java class XLSXEventTest (line 19) | public class XLSXEventTest { method processOneSheet (line 20) | public void processOneSheet(String filename) throws Exception { method processAllSheets (line 36) | public void processAllSheets(String filename) throws Exception { method fetchSheetParser (line 54) | public XMLReader fetchSheetParser(SharedStrings sst) throws SAXExcepti... class SheetHandler (line 64) | private static class SheetHandler extends DefaultHandler { method SheetHandler (line 69) | private SheetHandler(SharedStrings sst) { method startElement (line 73) | public void startElement(String uri, String localName, String name, method endElement (line 91) | public void endElement(String uri, String localName, String name) method characters (line 108) | public void characters(char[] ch, int start, int length) { method main (line 113) | public static void main(String[] args) throws Exception { FILE: src/test/java/test/http/HttpClientUtils.java class HttpClientUtils (line 30) | public class HttpClientUtils { method retryRequest (line 44) | @Override method post (line 63) | public static String post(String url, Map params, Integer c... FILE: src/test/java/test/http/HttpParamsTest.java class HttpParamsTest (line 13) | public class HttpParamsTest { method test1 (line 15) | @Test method test2 (line 41) | @Test method test3 (line 47) | @Test method test4 (line 52) | @Test method test5 (line 70) | @Test FILE: src/test/java/test/http/HttpPostTester.java class HttpPostTester (line 28) | public class HttpPostTester { method post (line 30) | public static String post(String reqURL, Map params) t... method main (line 90) | public static void main(String[] args) { FILE: src/test/java/test/http/HttpTester.java class HttpTester (line 24) | public class HttpTester { method testHttps (line 28) | @Test method upload (line 40) | @Test method testParams (line 55) | @Test method testData (line 69) | @Test method test2 (line 83) | @Test method test11 (line 90) | @Test // 创建个性大屏 method test12 (line 111) | @Test // 创建仓储大屏 method test13 (line 130) | @Test // 创建快递大屏 method main (line 147) | public static void main(String[] args) throws FileNotFoundException { FILE: src/test/java/test/http/NewApiTester.java class NewApiTester (line 11) | public class NewApiTester { method testChildrenAdd (line 15) | @Test method testChildrenUpd (line 31) | @Test method testChildrenDel (line 48) | @Test method testChildrenlist (line 63) | @Test FILE: src/test/java/test/http/OldApiTester.java class OldApiTester (line 20) | public class OldApiTester { method testOldInf (line 26) | @Test method testcarrychildrenaddorupd (line 42) | @Test method testcarrychildrendel (line 62) | @Test method testcarrychildrenlist (line 81) | @Test method testgetUserInfo (line 99) | @Test method testBanner (line 117) | @Test method buildSign (line 134) | private String buildSign(Map params, String key) { method buildAcctoken (line 142) | private static String buildAcctoken(String str) { method GetKeyBytes (line 157) | private static byte[] GetKeyBytes(String strKey) throws Exception { FILE: src/test/java/test/http/TestHttpUploadFile.java class TestHttpUploadFile (line 21) | @SuppressWarnings("unchecked") method test0 (line 24) | @Test method test1 (line 32) | @Test method test2 (line 42) | @Test method main (line 47) | public static void main(String[] args) throws FileNotFoundException { FILE: src/test/java/test/http/TestJsoup.java class TestJsoup (line 18) | public class TestJsoup { method viewSeeme (line 24) | @Test(timeout = 999999999) method deleteSeeme (line 29) | @Test(timeout = 999999999) method viewMesee (line 34) | @Test(timeout = 999999999) method deleteMesee (line 39) | @Test(timeout = 999999999) method viewSendme (line 45) | @Test(timeout = 999999999) method deleteSendme (line 50) | @Test(timeout = 999999999) method viewMesend (line 55) | @Test(timeout = 999999999) method deleteMesend (line 60) | @Test(timeout = 999999999) method viewSee (line 66) | private void viewSee(int type) { method deleteSee (line 74) | @SuppressWarnings("unchecked") method viewSend (line 102) | private void viewSend(int type) { method delSend (line 115) | private void delSend(int type) { FILE: src/test/java/test/http/TestOpenApi.java class TestOpenApi (line 17) | @SuppressWarnings("unchecked") method test1 (line 21) | @Test method test2 (line 41) | @Test method test3 (line 54) | @Test method main (line 59) | public static void main(String[] args) { FILE: src/test/java/test/http/WSClientTester.java class WSClientTester (line 24) | public class WSClientTester { method testSoap1 (line 26) | @Test method testSoap2 (line 54) | @Test method testPost (line 84) | @Test FILE: src/test/java/test/http/jdk/HTTPServerSample.java class HTTPServerSample (line 16) | @SuppressWarnings("restriction") method main (line 21) | public static void main(String[] args) { class MyHandler (line 33) | @SuppressWarnings("restriction") method handle (line 35) | public void handle(HttpExchange exchange) throws IOException { FILE: src/test/java/test/http/jdk/WSProvider.java class WSProvider (line 11) | @WebService(targetNamespace = "http://jdk6.webservice/demo", serviceName... method sayHi (line 14) | @WebResult(name = "Greetings") //自定义该方法返回值在WSDL中相关的描述 method printTime (line 20) | @Oneway //表明该服务方法是单向的,既没有返回值,也不应该声明检查异常 class WSPublisher (line 26) | private static class WSPublisher implements Runnable { method run (line 27) | public void run() { method main (line 37) | public static void main(String[] args) { FILE: src/test/java/test/http/ssl/HttpsCert.java class HttpsCert (line 26) | public class HttpsCert { method main (line 28) | public static void main(String[] args) throws Exception { method toHexString (line 133) | private static String toHexString(byte[] bytes) { class SavingTrustManager (line 144) | private static class SavingTrustManager implements X509TrustManager { method SavingTrustManager (line 148) | SavingTrustManager(X509TrustManager tm) { method getAcceptedIssuers (line 152) | public X509Certificate[] getAcceptedIssuers() { method checkClientTrusted (line 156) | public void checkClientTrusted(X509Certificate[] chain, String authT... method checkServerTrusted (line 161) | public void checkServerTrusted(X509Certificate[] chain, String authT... method verify (line 173) | public boolean verify(String hostname, FILE: src/test/java/test/http/ssl/SSLClient.java class SSLClient (line 15) | public class SSLClient { method main (line 20) | public static void main(String[] args) throws Exception { method clientWithoutCert (line 40) | private Socket clientWithoutCert() throws Exception { method clientWithCert (line 47) | private Socket clientWithCert() throws Exception { FILE: src/test/java/test/http/ssl/SSLServer.java class SSLServer (line 23) | public class SSLServer extends Thread { method SSLServer (line 29) | public SSLServer(Socket socket) { method run (line 33) | @Override method main (line 51) | public static void main(String[] args) throws NoSuchAlgorithmException... FILE: src/test/java/test/jce/Argon2Test.java class Argon2Test (line 14) | public class Argon2Test { method test1 (line 16) | @Test method test2 (line 40) | @Test @Ignore method test3 (line 50) | @Test @Ignore FILE: src/test/java/test/jce/CryptoProviderTest.java class CryptoProviderTest (line 15) | public class CryptoProviderTest { method main (line 17) | public static void main(String[] args) { FILE: src/test/java/test/jce/DigestTest.java class DigestTest (line 23) | public class DigestTest { method main (line 25) | public static void main(String[] args) { FILE: src/test/java/test/jce/Paillier.java class Paillier (line 38) | public class Paillier { method Paillier (line 73) | public Paillier(int bitLengthVal, int certainty) { method Paillier (line 81) | public Paillier() { method KeyGeneration (line 96) | public void KeyGeneration(int bitLengthVal, int certainty) { method Encryption (line 127) | public BigInteger Encryption(BigInteger m, BigInteger r) { method Encryption (line 139) | public BigInteger Encryption(BigInteger m) { method Decryption (line 153) | public BigInteger Decryption(BigInteger c) { method cipher_add (line 165) | public BigInteger cipher_add(BigInteger em1, BigInteger em2) { method main (line 175) | public static void main(String[] str) { FILE: src/test/java/test/jce/cert/CryptoMessageSyntaxTester.java class CryptoMessageSyntaxTester (line 19) | public class CryptoMessageSyntaxTester { method testEnvelop (line 21) | public @Test void testEnvelop() throws Exception { method testCMSSign (line 49) | public @Test void testCMSSign() throws Exception { method testPKCS7Sign (line 61) | public @Test void testPKCS7Sign() throws Exception { FILE: src/test/java/test/jce/cert/KeyStoreResolverTester.java class KeyStoreResolverTester (line 33) | public class KeyStoreResolverTester { method testLoad (line 35) | public @Test void testLoad() { method testCreateCert (line 46) | public @Test void testCreateCert() throws Exception { method testVerify (line 74) | public @Test void testVerify() throws Exception { method test1 (line 87) | public @Test void test1() throws Exception { method test2 (line 121) | public @Test void test2() throws Exception { method test0 (line 135) | private static void test0(RSAPrivateKey privateKey, RSAPublicKey publi... FILE: src/test/java/test/jce/cert/SM2CertTest.java class SM2CertTest (line 13) | public class SM2CertTest { method test (line 15) | public @Test void test() { method genCSR (line 23) | public static String genCSR(String subject, String alg, String provide... FILE: src/test/java/test/jce/cert/TestPem.java class TestPem (line 21) | public class TestPem { method testPEMKeyPair (line 23) | public @Test void testPEMKeyPair() throws IOException { method testSubjectPublicKeyInfo (line 71) | public @Test void testSubjectPublicKeyInfo() throws IOException { method encrypt (line 89) | private static byte[] encrypt(Key pubkey, byte[] data) { method decrypt (line 101) | private static byte[] decrypt(Key decryptionKey, byte[] encrypted) { FILE: src/test/java/test/jce/cert/X500NameTest.java class X500NameTest (line 14) | public class X500NameTest { method main (line 16) | public static void main(String[] args) throws Exception { FILE: src/test/java/test/jce/cert/X509CertUtilsTester.java class X509CertUtilsTester (line 12) | public class X509CertUtilsTester { method main (line 14) | public static void main(String[] args) throws IOException { FILE: src/test/java/test/jce/crypto/EncryptTester.java class EncryptTester (line 16) | public class EncryptTester { method main (line 18) | public static void main(String[] args) { method test (line 54) | public static void test(SymmetricCryptor cryptor) { FILE: src/test/java/test/jce/crypto/RSACryptoTester.java class RSACryptoTester (line 30) | public class RSACryptoTester { method beforeClass (line 32) | @BeforeClass method before (line 37) | @Before method test1 (line 42) | @Test method test2 (line 75) | @Test method test3 (line 89) | @Test method test4 (line 103) | @Test method test5 (line 117) | @Test method test6 (line 135) | @Test method test7 (line 149) | @Test method test8 (line 166) | @Test // RSA乘法同态加密 method test (line 185) | private static void test(RSAPrivateKey privateKey, RSAPublicKey public... FILE: src/test/java/test/jce/demo/GenX509Cert.java class GenX509Cert (line 57) | public class GenX509Cert { method getHashAlg (line 75) | private static AlgorithmId getHashAlg(String oid) { method GenX509Cert (line 91) | public GenX509Cert(String rootCertPath,String rootCertName,String self... method createCert (line 101) | public void createCert(X509Certificate certificate,PrivateKey rootPri... method savePfx (line 232) | public void savePfx(String alias, PrivateKey privKey, String pwd, method saveJks (line 263) | public void saveJks(String alias, PrivateKey privKey, String pwd, method createRootCA (line 278) | public void createRootCA() throws Exception { method signCert (line 332) | public void signCert() throws NoSuchAlgorithmException, method genKey (line 363) | public KeyPair genKey() throws NoSuchAlgorithmException { method addDeco (line 370) | public void addDeco(String caPath){ method main (line 393) | public static void main(String[] args) { FILE: src/test/java/test/jce/ecc0/CryptoInputStream.java class CryptoInputStream (line 11) | public class CryptoInputStream extends InputStream { method CryptoInputStream (line 20) | public CryptoInputStream(InputStream in, Cryptor cs, Key key) { method read (line 27) | public @Override int read() throws IOException { method close (line 43) | public @Override void close() throws IOException { FILE: src/test/java/test/jce/ecc0/CryptoOutputStream.java class CryptoOutputStream (line 10) | public class CryptoOutputStream extends OutputStream { method CryptoOutputStream (line 17) | public CryptoOutputStream(OutputStream out, Cryptor cs, Key key) { method writeOut (line 24) | private void writeOut() throws IOException { method write (line 32) | public @Override void write(int b) throws IOException { method flush (line 38) | public @Override void flush() throws IOException { method close (line 43) | public @Override void close() throws IOException { FILE: src/test/java/test/jce/ecc0/ECCryptorTest.java class ECCryptorTest (line 16) | public class ECCryptorTest { method testECCryptor (line 20) | @Test method testNullCryptor (line 37) | @Test FILE: src/test/java/test/jce/ecc0/EllipticCurveTest.java class EllipticCurveTest (line 9) | public class EllipticCurveTest { method main (line 11) | public static void main(String[] args) { FILE: src/test/java/test/jce/ecc0/Login.java class Login (line 14) | public class Login extends JFrame implements ActionListener { method Login (line 21) | public Login() { method addc (line 63) | public void addc(JComponent c, int x, int y, int w, int h) { method actionPerformed (line 68) | public void actionPerformed(ActionEvent ae) { FILE: src/test/java/test/jce/ecc0/Main.java class Main (line 3) | public class Main { method main (line 5) | public static void main(String[] args) { FILE: src/test/java/test/jce/ecc0/Screen.java class Screen (line 25) | public class Screen extends JFrame implements ActionListener { method Screen (line 37) | public Screen() { method addc (line 88) | public void addc(JComponent c, int x, int y, int w, int h) { method actionPerformed (line 93) | public void actionPerformed(ActionEvent a) { FILE: src/test/java/test/jce/ecc0/View.java class View (line 31) | public class View extends JFrame implements ActionListener { method View (line 50) | public View(int width, int height, Cryptor cs) { method setStatus (line 112) | public void setStatus(String s) { method setInfo (line 121) | public void setInfo(String s) { method actionPerformed (line 130) | public void actionPerformed(ActionEvent e) { method openFile (line 165) | public File openFile() { method saveFile (line 176) | public File saveFile() { method encrypt (line 186) | private void encrypt() { method decrypt (line 242) | private void decrypt() { method loadKey (line 278) | private void loadKey() { method saveKey (line 294) | private void saveKey() { method writeKey (line 301) | public void writeKey(File f, Key k) { method readKey (line 314) | public Key readKey(File f) { class ExitController (line 327) | public class ExitController extends WindowAdapter { method windowClosing (line 328) | public void windowClosing(WindowEvent e) { FILE: src/test/java/test/jce/ecc2/BaseConvert.java class BaseConvert (line 11) | public class BaseConvert { method baseEncodedStringToByteArray (line 21) | public static byte[] baseEncodedStringToByteArray( method byteArrayToBaseEncodedString (line 42) | public static String byteArrayToBaseEncodedString( FILE: src/test/java/test/jce/ecc2/CurveParameters.java class CurveParameters (line 8) | public class CurveParameters { method getCurveParametersByName (line 14) | public static ECDomainParameters getCurveParametersByName(String curve... FILE: src/test/java/test/jce/ecc2/PrivateKey.java class PrivateKey (line 21) | final public class PrivateKey { method PrivateKey (line 33) | public PrivateKey(ECDomainParameters curveParameters, BigInteger d) th... method fromByteArray (line 50) | public static PrivateKey fromByteArray(ECDomainParameters curveParamet... method fromString (line 63) | public static PrivateKey fromString( method toByteArray (line 77) | public byte[] toByteArray() { method toString (line 89) | public String toString(int radix) throws UnsupportedBaseException { method toString (line 100) | @Override method getPublicKey (line 110) | public PublicKey getPublicKey() { method deterministicKGenerator (line 122) | private HMacDSAKCalculator deterministicKGenerator( method computeRecoveryByte (line 139) | private byte computeRecoveryByte(ECPoint kp, BigInteger r, BigInteger ... class TimeStampAndNonce (line 149) | private static class TimeStampAndNonce { method TimeStampAndNonce (line 153) | private TimeStampAndNonce() { class SignatureConfig (line 162) | public static class SignatureConfig { method SignatureConfig (line 169) | public SignatureConfig( class SignatureConfigBuilder (line 190) | public static class SignatureConfigBuilder { method SignatureConfigBuilder (line 197) | public SignatureConfigBuilder() { method setRecover (line 200) | public SignatureConfigBuilder setRecover(boolean recover) { method setTimeStampAndNonce (line 207) | public SignatureConfigBuilder setTimeStampAndNonce(boolean timeStamp... method setCanonical (line 215) | public SignatureConfigBuilder setCanonical(boolean canonical) { method setRfc6979Digest (line 220) | public SignatureConfigBuilder setRfc6979Digest(GeneralDigest rfc6979... method setMessageDigest (line 225) | public SignatureConfigBuilder setMessageDigest(GeneralDigest message... method build (line 230) | public SignatureConfig build() { method getDefaultSignatureConfig (line 238) | public static SignatureConfig getDefaultSignatureConfig() { method signHash (line 242) | private byte[] signHash(byte[] hash, SignatureConfig config) method sign (line 276) | public byte[] sign(byte[] data, SignatureConfig config) method sign (line 291) | public byte[] sign(byte[] data) throws SecurityException { method signUTF8String (line 295) | public byte[] signUTF8String(String string, SignatureConfig config) method signUTF8String (line 300) | public byte[] signUTF8String(String string) method diffieHelmanSharedSecret (line 305) | public byte[] diffieHelmanSharedSecret(PublicKey publicKey) throws Sec... method equals (line 314) | @Override method hashCode (line 329) | @Override FILE: src/test/java/test/jce/ecc2/PrivateKeyTest.java class PrivateKeyTest (line 17) | public class PrivateKeyTest { method testFromAndToString (line 19) | @Test method testFromStringEmptyStringThrows (line 44) | @Test(expected = SecurityException.class) method testFromStringZeroStringThrows (line 49) | @Test(expected = SecurityException.class) method testFromStringVeryBigInputStringThrows (line 54) | @Test(expected = SecurityException.class) method testFromStringUnsupportedBase (line 59) | @Test(expected = UnsupportedBaseException.class) method testGetPublicKey (line 64) | @Test method testSetTimeStampAndNonceSignatureConfigBuilderSadPath (line 91) | @Test(expected = IllegalArgumentException.class) method testSetTimeStampAndNonceSignatureConfigSadPath (line 96) | @Test(expected = IllegalArgumentException.class) method testToStringUnsupportedBaseException (line 113) | @Test(expected = UnsupportedBaseException.class) method testEquality (line 119) | @Test method testDeterministicSignatureNoRecover (line 150) | @Test method testDeterministicSignatureWithRecover (line 166) | @Test method testDeterministicSignatureWithRecoverTestCanonical (line 183) | @Test method testDeterministicSignatureWithRecoverByteArray (line 209) | @Test method testDeterministicSignatureWithRecoverByteArrayBackAndForth (line 225) | @Test method testDeterministicSignatureWithRecoverConstructor (line 245) | @Test method testDeterministicSignatureWithRecoverBigIntegerONE (line 261) | @Test method testSignHash (line 275) | @Test method testSignHashBigHashSadPath (line 286) | @Test(expected = InvocationTargetException.class) method testHashCode (line 297) | @Test method testDiffieHelman (line 328) | @Test method testDiffieHelmanSadPath (line 343) | @Test(expected = SecurityException.class) method testSignatureSadPath (line 356) | @Test method testTimeStampChronologicalOrder (line 374) | @Test FILE: src/test/java/test/jce/ecc2/PublicKey.java class PublicKey (line 22) | final public class PublicKey { method isValidPoint (line 35) | private static boolean isValidPoint(ECDomainParameters curveParameters... method PublicKey (line 53) | public PublicKey(ECDomainParameters curveParameters, ECPoint point) th... method equals (line 63) | @Override method hashCode (line 78) | @Override method fromByteArray (line 96) | public static PublicKey fromByteArray( method fromUncompressedByteArray (line 110) | public static PublicKey fromUncompressedByteArray( method fromString (line 128) | public static PublicKey fromString( method toByteArray (line 140) | public byte[] toByteArray() { method toByteArray (line 150) | public byte[] toByteArray(boolean compressed) { method toString (line 161) | public String toString(int radix) throws UnsupportedBaseException { method toString (line 173) | public String toString(int base, boolean compressed) throws Unsupporte... method toString (line 182) | @Override class TimeStampAndNonce (line 187) | private static class TimeStampAndNonce { method TimeStampAndNonce (line 191) | TimeStampAndNonce(long timeStamp, long nonce) { class DeserializedSignature (line 197) | private static class DeserializedSignature { method DeserializedSignature (line 203) | DeserializedSignature(byte[] signature) { method getTimeStampFromSignature (line 231) | public static Long getTimeStampFromSignature(byte[] signature) { method computePoint (line 247) | private static ECPoint computePoint(ECDomainParameters curveParameters... method recoverPublicKeyWithHash (line 279) | public static PublicKey recoverPublicKeyWithHash( method recoverPublicKey (line 310) | public static PublicKey recoverPublicKey( method recoverPublicKey (line 338) | public static PublicKey recoverPublicKey( method recoverPublicKeyFromSignedUTF8String (line 345) | public static PublicKey recoverPublicKeyFromSignedUTF8String( method recoverPublicKeyFromSignedUTF8String (line 353) | public static PublicKey recoverPublicKeyFromSignedUTF8String( method verifySignatureFromHash (line 368) | private boolean verifySignatureFromHash(byte[] hash, byte[] signature)... method verifySignature (line 384) | public boolean verifySignature(byte[] data, byte[] signature, GeneralD... method verifySignature (line 408) | public boolean verifySignature(byte[] data, byte[] signature) method verifySignedUTF8String (line 422) | public boolean verifySignedUTF8String(String string, byte[] signature,... method verifySignedUTF8String (line 435) | public boolean verifySignedUTF8String(String string, byte[] signature) FILE: src/test/java/test/jce/ecc2/PublicKeyTest.java class PublicKeyTest (line 18) | public class PublicKeyTest { method testToString (line 20) | @Test method testToByteArray (line 58) | @Test method testToStringUnsupportedBaseException (line 96) | @Test(expected = UnsupportedBaseException.class) method testFromStringSadPathUnsupportedBaseException (line 102) | @Test(expected = UnsupportedBaseException.class) method testVerifySignedUTF8String (line 109) | @Test method testVerifySignedUTF8StringWithSecp256r1 (line 151) | @Test method testRecoverPublicKey (line 211) | @Test method testRecoverPublicKeySHA224 (line 261) | @Test method testHashCodeTest (line 311) | @Test method testPublicKeyConstructorPointOnWrongCurveSadPath (line 331) | @Test(expected = SecurityException.class) method testPublicKeyConstructorInvalidPointSadPath (line 337) | @Test(expected = SecurityException.class) method testRecoverPublicKeyFromSignedUTF8String (line 344) | @Test method testRecoverPublicKeyFromSignedUTF8StringSadPath (line 358) | @Test(expected = SecurityException.class) method testRecoverPublicKeyFromSignedUTF8StringSadPathBadDER (line 365) | @Test(expected = SecurityException.class) FILE: src/test/java/test/jce/ecc2/UnsupportedBaseException.java class UnsupportedBaseException (line 7) | public class UnsupportedBaseException extends Exception { method UnsupportedBaseException (line 10) | public UnsupportedBaseException(String message) { FILE: src/test/java/test/jce/ecc2/Utils.java class Utils (line 7) | public class Utils { method freshDigestFromDigest (line 15) | public static GeneralDigest freshDigestFromDigest(GeneralDigest hashDi... method stringToUTF8Bytes (line 32) | public static byte[] stringToUTF8Bytes(String string) throws SecurityE... method longToBytes (line 46) | public static byte[] longToBytes(long x) { method bytesToLong (line 58) | public static long bytesToLong(byte[] bytes) { method countLeadingZeroBytes (line 65) | public static int countLeadingZeroBytes(byte[] bytes) { FILE: src/test/java/test/jce/rsa/RSAKeyTest.java class RSAKeyTest (line 8) | public class RSAKeyTest { method main (line 10) | public static void main(String[] args) { FILE: src/test/java/test/jce/rsa/RSASignerTest.java class RSASignerTest (line 20) | public class RSASignerTest { method testRSASign (line 24) | @Test FILE: src/test/java/test/jce/rsa/RSAryptorTest.java class RSAryptorTest (line 29) | public class RSAryptorTest { method print (line 34) | private static void print(String s) { method testRSANoPadding (line 40) | @Test method testRSAPKCS1Padding (line 70) | @Test method testRSAHash (line 138) | @Test method testRSARandom (line 158) | @Test method testRSAHashInverseKey (line 225) | @Test method testRSANoPaddingInverseKey (line 242) | @Test method testRSAPKCS1InverseKey (line 259) | @Test method testRSANoPaddingStream (line 275) | @Test method testRSAPKCS1PaddingStream (line 313) | @Test method testRSAHashStream (line 351) | @Test FILE: src/test/java/test/jce/sha1/SHA1BrokenTest.java class SHA1BrokenTest (line 18) | public class SHA1BrokenTest { method test1 (line 20) | public @Test void test1() { method test2 (line 32) | public @Test void test2() { FILE: src/test/java/test/jce/sm/SM2KeyExchangeTest.java class SM2KeyExchangeTest (line 13) | public class SM2KeyExchangeTest { method main (line 15) | public static void main(String[] args) { FILE: src/test/java/test/jce/sm/SM2Test.java class SM2Test (line 13) | public class SM2Test { method test1 (line 16) | @Test method test2 (line 32) | @Test method test3 (line 40) | @Test method test4 (line 86) | @Test FILE: src/test/java/test/jce/sm/SM3DigestTest.java class SM3DigestTest (line 11) | public class SM3DigestTest { method main (line 13) | public static void main(String[] args) { FILE: src/test/java/test/jce/sm/SM4Test.java class SM4Test (line 8) | public class SM4Test { method main (line 10) | public static void main(String[] args) { FILE: src/test/java/test/log4j/TestLog4j.java class TestLog4j (line 8) | public class TestLog4j { method main (line 11) | public static void main(String[] args) { FILE: src/test/java/test/model/PageInfo.java class PageInfo (line 5) | public class PageInfo implements Serializable { method getShowCount (line 22) | public int getShowCount() { method setShowCount (line 26) | public void setShowCount(int showCount) { method getTotalPage (line 30) | public int getTotalPage() { method setTotalPage (line 34) | public void setTotalPage(int totalPage) { method getTotalResult (line 38) | public int getTotalResult() { method setTotalResult (line 42) | public void setTotalResult(int totalResult) { method getCurrentPage (line 46) | public int getCurrentPage() { method setCurrentPage (line 50) | public void setCurrentPage(int currentPage) { method getCurrentResult (line 54) | public int getCurrentResult() { method setCurrentResult (line 58) | public void setCurrentResult(int currentResult) { method getSortField (line 62) | public String getSortField() { method setSortField (line 66) | public void setSortField(String sortField) { method getOrder (line 70) | public String getOrder() { method setOrder (line 74) | public void setOrder(String order) { FILE: src/test/java/test/model/PagePlugin.java class PagePlugin (line 53) | @Intercepts({ @Signature(type = StatementHandler.class, method = "prepar... method intercept (line 59) | @SuppressWarnings("unchecked") method setParameters (line 110) | @SuppressWarnings({ "rawtypes", "unchecked" }) method generatePageSql (line 149) | private String generatePageSql(String sql, PageInfo page) { method plugin (line 169) | public Object plugin(Object arg0) { method setProperties (line 174) | public void setProperties(Properties p) { FILE: src/test/java/test/pdf/ItextUtil.java class ItextUtil (line 31) | public class ItextUtil { method sign (line 42) | public void sign(String src, String target, SignatureInfo... signature... method main (line 98) | public static void main(String[] args) { class SignatureInfo (line 136) | public static class SignatureInfo { method getReason (line 147) | public String getReason() { method setReason (line 150) | public void setReason(String reason) { method getLocation (line 153) | public String getLocation() { method setLocation (line 156) | public void setLocation(String location) { method getDigestAlgorithm (line 159) | public String getDigestAlgorithm() { method setDigestAlgorithm (line 162) | public void setDigestAlgorithm(String digestAlgorithm) { method getImagePath (line 165) | public String getImagePath() { method setImagePath (line 168) | public void setImagePath(String imagePath) { method getFieldName (line 171) | public String getFieldName() { method setFieldName (line 174) | public void setFieldName(String fieldName) { method getChain (line 177) | public Certificate[] getChain() { method setChain (line 180) | public void setChain(Certificate[] chain) { method getPk (line 183) | public PrivateKey getPk() { method setPk (line 186) | public void setPk(PrivateKey pk) { method getCertificationLevel (line 189) | public int getCertificationLevel() { method setCertificationLevel (line 192) | public void setCertificationLevel(int certificationLevel) { method getRenderingMode (line 195) | public PdfSignatureAppearance.RenderingMode getRenderingMode() { method setRenderingMode (line 198) | public void setRenderingMode(PdfSignatureAppearance.RenderingMode re... method getSubfilter (line 201) | public MakeSignature.CryptoStandard getSubfilter() { method setSubfilter (line 204) | public void setSubfilter(MakeSignature.CryptoStandard subfilter) { FILE: src/test/java/test/pdf/PdfP7Sign.java class PdfP7Sign (line 31) | public class PdfP7Sign { method sign (line 33) | private static void sign(String src, String dest) method main (line 104) | public static void main(String[] args) FILE: src/test/java/test/pdf/TestPdfSign.java class TestPdfSign (line 17) | public class TestPdfSign { method main (line 19) | public static void main(String[] args) throws IOException { FILE: src/test/java/test/qrcode/Qrcode.java class Qrcode (line 17) | public class Qrcode { method Qrcode (line 29) | public Qrcode() { method setQrcodeErrorCorrect (line 45) | public void setQrcodeErrorCorrect(char ecc) { method getQrcodeErrorCorrect (line 54) | public char getQrcodeErrorCorrect() { method getQrcodeVersion (line 63) | public int getQrcodeVersion() { method setQrcodeVersion (line 73) | public void setQrcodeVersion(int ver) { method setQrcodeEncodeMode (line 85) | public void setQrcodeEncodeMode(char encMode) { method getQrcodeEncodeMode (line 94) | public char getQrcodeEncodeMode() { method setStructureappend (line 103) | public void setStructureappend(int m, int n, int p) { method calStructureappendParity (line 115) | public int calStructureappendParity(byte[] originaldata) { method calQrcode (line 140) | public boolean[][] calQrcode(byte[] qrcodeData) { method divideDataBy8Bits (line 534) | private static byte[] divideDataBy8Bits(int[] data, byte[] bits, int m... method calculateRSECC (line 603) | private static byte[] calculateRSECC(byte[] codewords, byte rsEccCodew... method calculateByteArrayBits (line 684) | private static byte[] calculateByteArrayBits(byte[] xa, byte[] xb, Str... method selectMask (line 716) | private static byte selectMask(byte[][] matrixContent, int maxCodeword... FILE: src/test/java/test/qrcode/QrcodeTest.java class QrcodeTest (line 9) | public class QrcodeTest { method main (line 10) | public static void main(String[] args) { FILE: src/test/java/test/reflect/ClassUtilsTest.java class ClassUtilsTest (line 29) | public class ClassUtilsTest { method test0 (line 33) | @Test method test1 (line 40) | @Test method test20 (line 47) | @Test method test21 (line 54) | @Test method test3 (line 61) | @Test method test4 (line 71) | @Test method test5 (line 86) | @Test method test6 (line 92) | @Test method test00 (line 166) | @Test method test8 (line 201) | @Test method test9 (line 218) | @Test method tes10 (line 231) | @Test method toArray (line 278) | public static Object[] toArray(Object... args) { method get (line 282) | public static Object get(Object[] args, int i) { class A (line 286) | public static class A { method A (line 294) | public A(int x) { method a (line 298) | public void a(int i) { method add (line 302) | public int add(int i) { method func1 (line 306) | public static String func1() { method func2 (line 310) | public static String func2() { method max (line 314) | public static int max(int a, int b) { method test (line 322) | public static String test() { method get (line 326) | public static A get() { type X (line 331) | public static interface X { class B (line 335) | public static class B extends A implements X { method B (line 337) | public B(int x) { method func1 (line 341) | public static String func1() { FILE: src/test/java/test/reflect/ProxyTest.java class ProxyTest (line 14) | public class ProxyTest { method main (line 16) | @SuppressWarnings("restriction") type Echo (line 39) | public static interface Echo { method echo (line 40) | String echo(String s); class MountainEcho (line 43) | public static class MountainEcho implements Echo { method echo (line 44) | @Override class EchoInvocationHandler (line 50) | public static class EchoInvocationHandler implements InvocationHandler { method EchoInvocationHandler (line 53) | public EchoInvocationHandler(Echo target) { method invoke (line 57) | @Override FILE: src/test/java/test/swing/SM2Crypto.java class SM2Crypto (line 30) | public class SM2Crypto extends JFrame{ method SM2Crypto (line 40) | public SM2Crypto() { method initToolbar (line 61) | private void initToolbar() { method initMenu (line 72) | private void initMenu() { method exit (line 157) | public void exit() { method main (line 164) | public static void main(String[] args) { FILE: src/test/java/test/swing/WebBrowser.java class WebBrowser (line 32) | public class WebBrowser extends JFrame implements HyperlinkListener, method WebBrowser (line 63) | public WebBrowser() { method initMenu (line 98) | private void initMenu(){ method initToolbar (line 154) | private void initToolbar(){ method setExitWhenLastWindowClosed (line 212) | public static void setExitWhenLastWindowClosed(boolean b) { method setHome (line 216) | public void setHome(String home) { method getHome (line 222) | public String getHome() { method visit (line 229) | private boolean visit(URL url) { method displayPage (line 267) | public void displayPage(URL url) { method displayPage (line 290) | public void displayPage(String href) { method openLocalPage (line 306) | public void openLocalPage() { method back (line 340) | public void back() { method forward (line 353) | public void forward() { method reload (line 363) | public void reload() { method home (line 372) | public void home() { method newBrowser (line 376) | public void newBrowser() { method close (line 386) | public void close() { method exit (line 401) | public void exit() { method hyperlinkUpdate (line 411) | public void hyperlinkUpdate(HyperlinkEvent e) { method propertyChange (line 432) | public void propertyChange(PropertyChangeEvent e) { method actionPerformed (line 452) | public void actionPerformed(ActionEvent e) { method animate (line 458) | private void animate() { method startAnimation (line 465) | private void startAnimation(String msg) { method stopAnimation (line 473) | private void stopAnimation() { method main (line 479) | public static void main(String[] args) { FILE: src/test/java/test/tree/NodePathSerialTest.java class NodePathSerialTest (line 14) | public class NodePathSerialTest { method test1 (line 19) | @Test @Ignore method test2 (line 28) | @Test method test3 (line 38) | @Test FILE: src/test/java/test/tree/NodePathTest.java class NodePathTest (line 29) | public class NodePathTest { method test0 (line 31) | @Test method test1 (line 53) | @Test method test2 (line 60) | @Test method test3 (line 80) | @Test method test4 (line 89) | @Test method test5 (line 99) | @Test method test6 (line 114) | @Test method test7 (line 120) | @Test method test8 (line 126) | @Test method test10 (line 133) | @Test method test11 (line 139) | @Test method test12 (line 145) | @Test @Ignore method test13 (line 154) | @Test @Ignore method test14 (line 163) | @Test @Ignore class NodePathBean1 (line 172) | @SuppressWarnings("rawtypes") method getId (line 178) | public int getId() { method setId (line 182) | public void setId(int id) { method getPath (line 186) | public NodePath getPath() { method setPath (line 190) | public void setPath(NodePath path) { class NodePathBean2 (line 195) | public static class NodePathBean2 getPath() { method setPath (line 212) | public void setPath(NodePath path) { class NodePathBean3 (line 217) | public static class NodePathBean3 implements java.io.Serializable { method getId (line 223) | public int getId() { method setId (line 227) | public void setId(int id) { method getPath (line 231) | public NodePath getPath() { method setPath (line 235) | public void setPath(NodePath path) { class NodePathBean4 (line 240) | public static class NodePathBean4 implements java.io.Serializable { method getId (line 248) | public int getId() { method setId (line 252) | public void setId(int id) { method getPath (line 256) | public NodePath getPath() { method setPath (line 260) | public void setPath(NodePath path) { class NodePathBean5 (line 265) | public static class NodePathBean5 implements java.io.Serializable { method getId (line 270) | public int getId() { method setId (line 274) | public void setId(int id) { method getPath (line 278) | public List getPath() { method setPath (line 282) | public void setPath(List path) { class NodePathBean6 (line 287) | public static class NodePathBean6 implements java.io.Serializable { method getId (line 292) | public int getId() { method setId (line 296) | public void setId(int id) { method getPath (line 300) | public ArrayList getPath() { method setPath (line 304) | public void setPath(ArrayList path) { class NodePathBean7 (line 309) | public static class NodePathBean7 implements java.io.Serializable { method getId (line 314) | public int getId() { method setId (line 318) | public void setId(int id) { method getPath (line 322) | public ImmutableArrayList getPath() { method setPath (line 326) | public void setPath(ImmutableArrayList path) { FILE: src/test/java/test/tree/NodeTreeTest.java class NodeTreeTest (line 18) | public class NodeTreeTest { method test1 (line 20) | @Test method convert (line 69) | private MapTreeTrait convert(TreeNode ... method test2 (line 80) | @Test method test3 (line 91) | @Test method test4 (line 101) | @Test method test5 (line 110) | @Test method random (line 152) | private String random() { FILE: src/test/java/test/tree/TreeNodePrinterTest.java class TreeNodePrinterTest (line 27) | public class TreeNodePrinterTest { method test1 (line 29) | @Test method test2 (line 81) | @Test method test3 (line 125) | @Test method test4 (line 134) | @Test method test5 (line 151) | @Test method convert (line 156) | private MapTreeTrait convert(TreeNode ... FILE: src/test/java/test/utils/AtomicStampedReferenceTest.java class AtomicStampedReferenceTest (line 6) | public class AtomicStampedReferenceTest { method main (line 8) | public static void main(String[] args) throws InterruptedException { FILE: src/test/java/test/utils/Base58Test.java class Base58Test (line 16) | public class Base58Test extends TestCase { method testEncode (line 17) | @Test method testDecode (line 35) | @Test method testDecodeToBigInteger (line 80) | @Test FILE: src/test/java/test/utils/Base64.java class Base64 (line 22) | public final class Base64 { method Base64 (line 45) | private Base64() {} method encode3to4 (line 76) | private static byte[] encode3to4(byte[] source, int srcOffset, int num... method encode (line 116) | public static String encode(String string) { method encodeBytes (line 138) | public static String encodeBytes(byte[] source) { method encodeBytes (line 158) | public static String encodeBytes(byte[] source, int off, int len) { method encodeBytesToBytes (line 186) | public static byte[] encodeBytesToBytes(byte[] source, int off, int le... FILE: src/test/java/test/utils/BytesTest.java class BytesTest (line 16) | public class BytesTest { method test1 (line 18) | @Test method test2 (line 47) | @Test method test3 (line 57) | @Test method test4 (line 66) | @Test FILE: src/test/java/test/utils/FloatContent.java class FloatContent (line 85) | public class FloatContent { method main (line 87) | public static void main(String[] args) { FILE: src/test/java/test/utils/GuavaCacheRefreshTest.java class GuavaCacheRefreshTest (line 15) | public class GuavaCacheRefreshTest { class SkuCache (line 16) | public class SkuCache { method getSkuId (line 20) | public String getSkuId() { method setSkuId (line 23) | public void setSkuId(String skuId) { method getSkuCode (line 26) | public String getSkuCode() { method setSkuCode (line 29) | public void setSkuCode(String skuCode) { method getRealQuantity (line 32) | public Long getRealQuantity() { method setRealQuantity (line 35) | public void setRealQuantity(Long realQuantity) { method testCacheUse (line 43) | @Test method getValue (line 87) | private void getValue(LoadingCache loadingCache) thr... FILE: src/test/java/test/utils/GuavaCacheTest.java class GuavaCacheTest (line 13) | public class GuavaCacheTest { method create1 (line 15) | @Test method create2 (line 36) | @Test FILE: src/test/java/test/utils/Java8DateTimeTester.java class Java8DateTimeTester (line 9) | public class Java8DateTimeTester { method testFormat (line 13) | @org.junit.Test method testLocalDate (line 22) | @org.junit.Test FILE: src/test/java/test/utils/MapToObjTest.java class MapToObjTest (line 9) | public class MapToObjTest { class A (line 11) | public static class A { method A (line 16) | public A() {} method A (line 18) | public A(int a_b, String str) { method getA_b (line 24) | public int getA_b() { method setA_b (line 28) | public void setA_b(int a_b) { method getStr (line 32) | public String getStr() { method setStr (line 36) | public void setStr(String str) { method getMode (line 40) | public DigestAlgorithms getMode() { method setMode (line 44) | public void setMode(DigestAlgorithms mode) { method toString (line 48) | @Override method main (line 55) | public static void main(String[] args) { FILE: src/test/java/test/utils/NumbersTest.java class NumbersTest (line 11) | public class NumbersTest { method testSplit (line 13) | @Test method split (line 26) | public static long[] split(long[] bills, long value) { FILE: src/test/java/test/utils/ObjectUtilsTest.java class ObjectUtilsTest (line 10) | public class ObjectUtilsTest { method test1 (line 17) | @Test method test2 (line 57) | @Test method test3 (line 82) | @Test FILE: src/test/java/test/utils/OptionalTest.java class OptionalTest (line 6) | public class OptionalTest { method main (line 8) | public static void main(String[] args) { FILE: src/test/java/test/utils/ProjectFileUtilsTester.java class ProjectFileUtilsTester (line 16) | public class ProjectFileUtilsTester { method testGetMainJavaFile (line 18) | @Test method testGetTestJavaFile (line 24) | @Test method testGetMainJavaPath (line 30) | @Test method testGetMainResourcesPath (line 36) | @Test method testGetTestResourcesPath (line 42) | @Test method printFile (line 48) | private void printFile(String filepath) { method printFile (line 52) | private void printFile(File file) { method main (line 64) | public static void main(String[] args) { method toByteArray (line 79) | public static byte[] toByteArray(InputStream in) throws IOException { FILE: src/test/java/test/utils/RepeatableAnn.java class RepeatableAnn (line 12) | public class RepeatableAnn { method main (line 14) | public static void main(String[] args) { class RepeatAnn (line 44) | @Role(name = "doctor") class Annotations (line 50) | @Roles({@Role(name="doctor"), FILE: src/test/java/test/utils/SimpleXmlHandlerTest.java class SimpleXmlHandlerTest (line 11) | public class SimpleXmlHandlerTest { method main (line 13) | public static void main(String[] args) throws IOException { FILE: src/test/java/test/utils/TempTest.java class TempTest (line 26) | public class TempTest { method test0 (line 28) | @org.junit.Test method test2 (line 38) | @org.junit.Test method test3 (line 43) | @org.junit.Test method test4 (line 54) | @org.junit.Test method test41 (line 69) | @org.junit.Test method test5 (line 102) | @org.junit.Test method test6 (line 109) | @org.junit.Test method test7 (line 120) | @org.junit.Test method test8 (line 131) | @org.junit.Test method test9 (line 144) | @org.junit.Test method test10 (line 178) | @org.junit.Test method test100 (line 208) | @org.junit.Test method test11 (line 245) | @org.junit.Test method test12 (line 251) | @org.junit.Test method tableSizeFor (line 258) | static final int tableSizeFor(int cap) { method fromShort (line 269) | public static byte[] fromShort(short value) { method toShort (line 273) | public static short toShort(byte[] bytes, int fromIdx) { method fromInt (line 279) | public static byte[] fromInt(int value) { method toInt (line 283) | public static int toInt(byte[] bytes, int fromIdx) { method fromLong (line 289) | public static byte[] fromLong(long number) { method toLong (line 293) | public static long toLong(byte[] bytes, int fromIdx) { FILE: src/test/java/test/utils/Test1.java class Test1 (line 10) | public class Test1 { class Nested (line 13) | private class Nested { method compare (line 17) | public boolean compare(Test1 t) { method main (line 21) | public static void main(String[] args) { method tableSizeFor (line 44) | static final int tableSizeFor(int cap) { FILE: src/test/java/test/utils/Test2.java class Test2 (line 23) | public class Test2 { method test1 (line 26) | @Test method test2 (line 33) | @Test method test3 (line 40) | @Test method test4 (line 46) | @Test method test5 (line 54) | @Test method test6 (line 74) | @Test method test7 (line 99) | @Test method leastFire (line 107) | public static int leastFire(int num, int shotDegrade, int remDegrade, ... method fire (line 115) | private static int fire(int[] healths, int shotDegrade, int remDegrade) { FILE: src/test/java/test/utils/TestBeanCopy.java class TestBeanCopy (line 13) | public class TestBeanCopy { method main (line 15) | public static void main(String[] args) { method test0 (line 23) | @Test method test1 (line 32) | @Test method test2 (line 41) | @Test method test3 (line 50) | @Test method test4 (line 61) | @Test method test5 (line 70) | @Test method test6 (line 79) | @Test method test7 (line 88) | @Test method test8 (line 101) | @Test method test9 (line 112) | @Test class TestBean (line 125) | public static class TestBean { method getAge (line 129) | public int getAge() { method setAge (line 133) | public void setAge(int age) { method get_id (line 137) | public String get_id() { method set_id (line 141) | public void set_id(String _id) { FILE: src/test/java/test/utils/TestCache.java class TestCache (line 12) | public class TestCache { method main (line 14) | public static void main(String[] args) throws InterruptedException { FILE: src/test/java/test/utils/TestCost.java class TestCost (line 9) | public class TestCost { method test1 (line 11) | @Test method test2 (line 24) | @Test method test3 (line 37) | @Test method test4 (line 45) | @Test method test6 (line 53) | @Test method test5 (line 64) | @Test FILE: src/test/java/test/utils/TestInterrupt.java class TestInterrupt (line 7) | public class TestInterrupt { method main (line 9) | public static void main(String[] args) throws InterruptedException { FILE: src/test/java/test/utils/TestLock.java class TestLock (line 6) | public class TestLock { method main (line 7) | public static void main(String[] args) throws InterruptedException { FILE: src/test/java/test/utils/TestXmlReader.java class TestXmlReader (line 9) | public class TestXmlReader { method main (line 11) | public static void main(String[] args) throws InterruptedException { FILE: src/test/java/test/utils/Ztzip.java class Ztzip (line 6) | public class Ztzip { method main (line 8) | public static void main(String[] args) throws Exception {