rename package
parent
aad9821481
commit
1a810d21bc
20
README.md
20
README.md
|
@ -78,26 +78,8 @@ public class Test {
|
|||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Maven
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>io.github.yezhihao</groupId>
|
||||
<artifactId>protostar</artifactId>
|
||||
<version>1.0.0.RELEASE</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
### 代码仓库
|
||||
* Gitee仓库地址:[https://gitee.com/yezhihao/protostar/tree/master](https://gitee.com/yezhihao/protostar/tree/master)
|
||||
* Github仓库地址:[https://github.com/yezhihao/protostar/tree/master](https://github.com/yezhihao/protostar/tree/master)
|
||||
当前项目是Fork [剑器近](https://gitee.com/yezhihao) 的 [https://gitee.com/yezhihao/protostar/tree/master](https://gitee.com/yezhihao/protostar/tree/master)
|
||||
|
||||
更多的例子请参考Test目录
|
||||
|
||||
使用该组件的项目:[https://gitee.com/yezhihao/jt808-server/tree/master](https://gitee.com/yezhihao/jt808-server/tree/master)
|
||||
|
||||
项目会不定期进行更新,建议star和watch一份,您的支持是我最大的动力。
|
||||
|
||||
如有任何疑问或者BUG,请联系我,非常感谢。
|
||||
|
||||
技术交流QQ群:[906230542]
|
||||
|
|
79
pom.xml
79
pom.xml
|
@ -1,13 +1,12 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>io.github.yezhihao</groupId>
|
||||
<groupId>com.dust.tripartite</groupId>
|
||||
<artifactId>protostar</artifactId>
|
||||
<version>2.0.7.RELEASE</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Protostar</name>
|
||||
<url>https://github.com/yezhihao/protostar</url>
|
||||
<description>Java serialization library,write in bytecode order.</description>
|
||||
|
||||
<licenses>
|
||||
|
@ -17,18 +16,6 @@
|
|||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>https://github.com/yezhihao/protostar</url>
|
||||
<connection>https://github.com/yezhihao/protostar.git</connection>
|
||||
</scm>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>protostar.yezhihao</id>
|
||||
<name>protostar</name>
|
||||
<email>zhihao.ye@qq.com</email>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
|
@ -69,7 +56,7 @@
|
|||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>nexus-release</id>
|
||||
<id>nexus-releases</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
|
@ -101,20 +88,6 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
|
@ -143,46 +116,36 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||
<version>1.6.8</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>central-nexus</serverId>
|
||||
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-scm-plugin</artifactId>
|
||||
<version>1.11.2</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>nexus-release</id>
|
||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>nexus-snapshot</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>nexus-releases</id>
|
||||
<name>Nexus Release Repository</name>
|
||||
<url>http://113.250.52.44:8081/repository/maven-releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>nexus-snapshots</id>
|
||||
<name>Nexus Release Repository</name>
|
||||
<url>http://113.250.52.44:8081/repository/maven-snapshots/</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Maven Central</name>
|
||||
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
||||
<id>deployer</id>
|
||||
<name>deployer</name>
|
||||
<url>http://113.250.52.44:8081/repository/maven-public/</url>
|
||||
<layout>default</layout>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
</project>
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar;
|
||||
package com.dust.tripartite.protostar;
|
||||
|
||||
/**
|
||||
* 支持的数据类型
|
|
@ -1,8 +1,8 @@
|
|||
package io.github.yezhihao.protostar;
|
||||
package com.dust.tripartite.protostar;
|
||||
|
||||
import io.github.yezhihao.protostar.annotation.Message;
|
||||
import io.github.yezhihao.protostar.schema.RuntimeSchema;
|
||||
import io.github.yezhihao.protostar.util.ClassUtils;
|
||||
import com.dust.tripartite.protostar.annotation.Message;
|
||||
import com.dust.tripartite.protostar.schema.RuntimeSchema;
|
||||
import com.dust.tripartite.protostar.util.ClassUtils;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
|
@ -1,6 +1,8 @@
|
|||
package io.github.yezhihao.protostar;
|
||||
package com.dust.tripartite.protostar;
|
||||
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.field.*;
|
||||
import com.dust.tripartite.protostar.schema.*;
|
||||
import io.github.yezhihao.protostar.field.*;
|
||||
import io.github.yezhihao.protostar.schema.*;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package io.github.yezhihao.protostar;
|
||||
package com.dust.tripartite.protostar;
|
||||
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import io.github.yezhihao.protostar.field.BasicField;
|
||||
import io.github.yezhihao.protostar.schema.RuntimeSchema;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.field.BasicField;
|
||||
import com.dust.tripartite.protostar.schema.RuntimeSchema;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
import java.lang.reflect.ParameterizedType;
|
|
@ -1,9 +1,9 @@
|
|||
package io.github.yezhihao.protostar;
|
||||
package com.dust.tripartite.protostar;
|
||||
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import io.github.yezhihao.protostar.annotation.Fs;
|
||||
import io.github.yezhihao.protostar.field.BasicField;
|
||||
import io.github.yezhihao.protostar.schema.RuntimeSchema;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.annotation.Fs;
|
||||
import com.dust.tripartite.protostar.field.BasicField;
|
||||
import com.dust.tripartite.protostar.schema.RuntimeSchema;
|
||||
|
||||
import java.lang.reflect.ParameterizedType;
|
||||
import java.util.*;
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar;
|
||||
package com.dust.tripartite.protostar;
|
||||
|
||||
import io.github.yezhihao.protostar.schema.ArraySchema;
|
||||
import io.github.yezhihao.protostar.schema.NumberSchema;
|
||||
import com.dust.tripartite.protostar.schema.ArraySchema;
|
||||
import com.dust.tripartite.protostar.schema.NumberSchema;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
|
@ -1,6 +1,6 @@
|
|||
package io.github.yezhihao.protostar;
|
||||
package com.dust.tripartite.protostar;
|
||||
|
||||
import io.github.yezhihao.protostar.schema.RuntimeSchema;
|
||||
import com.dust.tripartite.protostar.schema.RuntimeSchema;
|
||||
|
||||
import java.util.Map;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar;
|
||||
package com.dust.tripartite.protostar;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar.annotation;
|
||||
package com.dust.tripartite.protostar.annotation;
|
||||
|
||||
import io.github.yezhihao.protostar.DataType;
|
||||
import io.github.yezhihao.protostar.converter.Converter;
|
||||
import com.dust.tripartite.protostar.DataType;
|
||||
import com.dust.tripartite.protostar.converter.Converter;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.annotation;
|
||||
package com.dust.tripartite.protostar.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.annotation;
|
||||
package com.dust.tripartite.protostar.annotation;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.converter;
|
||||
package com.dust.tripartite.protostar.converter;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package io.github.yezhihao.protostar.converter;
|
||||
package com.dust.tripartite.protostar.converter;
|
||||
|
||||
import io.github.yezhihao.protostar.PrepareLoadStrategy;
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.util.ByteBufUtils;
|
||||
import com.dust.tripartite.protostar.PrepareLoadStrategy;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.util.ByteBufUtils;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar.field;
|
||||
package com.dust.tripartite.protostar.field;
|
||||
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import io.github.yezhihao.protostar.util.StrUtils;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.util.StrUtils;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
/**
|
|
@ -1,9 +1,9 @@
|
|||
package io.github.yezhihao.protostar.field;
|
||||
package com.dust.tripartite.protostar.field;
|
||||
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import io.github.yezhihao.protostar.util.ByteBufUtils;
|
||||
import io.github.yezhihao.protostar.util.StrUtils;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.util.ByteBufUtils;
|
||||
import com.dust.tripartite.protostar.util.StrUtils;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.ByteBufUtil;
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package io.github.yezhihao.protostar.field;
|
||||
package com.dust.tripartite.protostar.field;
|
||||
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import io.github.yezhihao.protostar.util.ByteBufUtils;
|
||||
import io.github.yezhihao.protostar.util.StrUtils;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.util.StrUtils;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.util.ByteBufUtils;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
import java.util.Collection;
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar.field;
|
||||
package com.dust.tripartite.protostar.field;
|
||||
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.ByteBufUtil;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar.field;
|
||||
package com.dust.tripartite.protostar.field;
|
||||
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.ByteBufUtil;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar.schema;
|
||||
package com.dust.tripartite.protostar.schema;
|
||||
|
||||
import io.github.yezhihao.protostar.DataType;
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.DataType;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
public class ArraySchema {
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar.schema;
|
||||
package com.dust.tripartite.protostar.schema;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package io.github.yezhihao.protostar.schema;
|
||||
package com.dust.tripartite.protostar.schema;
|
||||
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.util.ByteBufUtils;
|
||||
import io.github.yezhihao.protostar.util.Cache;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.util.ByteBufUtils;
|
||||
import com.dust.tripartite.protostar.util.Cache;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
import java.util.ArrayList;
|
|
@ -1,8 +1,8 @@
|
|||
package io.github.yezhihao.protostar.schema;
|
||||
package com.dust.tripartite.protostar.schema;
|
||||
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.converter.Converter;
|
||||
import io.github.yezhihao.protostar.util.Cache;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.converter.Converter;
|
||||
import com.dust.tripartite.protostar.util.Cache;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
/**
|
|
@ -1,8 +1,8 @@
|
|||
package io.github.yezhihao.protostar.schema;
|
||||
package com.dust.tripartite.protostar.schema;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.util.Bcd;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.util.Bcd;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar.schema;
|
||||
package com.dust.tripartite.protostar.schema;
|
||||
|
||||
import io.github.yezhihao.protostar.DataType;
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.DataType;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
public class NumberSchema {
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar.schema;
|
||||
package com.dust.tripartite.protostar.schema;
|
||||
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.util.Cache;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.util.Cache;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
public class ObjectSchema<T> implements Schema<T> {
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar.schema;
|
||||
package com.dust.tripartite.protostar.schema;
|
||||
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.field.BasicField;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.field.BasicField;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
|
@ -1,8 +1,8 @@
|
|||
package io.github.yezhihao.protostar.schema;
|
||||
package com.dust.tripartite.protostar.schema;
|
||||
|
||||
import io.github.yezhihao.protostar.Schema;
|
||||
import io.github.yezhihao.protostar.util.Cache;
|
||||
import io.github.yezhihao.protostar.util.CharsBuilder;
|
||||
import com.dust.tripartite.protostar.Schema;
|
||||
import com.dust.tripartite.protostar.util.Cache;
|
||||
import com.dust.tripartite.protostar.util.CharsBuilder;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.util.internal.StringUtil;
|
||||
import org.slf4j.Logger;
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.util;
|
||||
package com.dust.tripartite.protostar.util;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.util;
|
||||
package com.dust.tripartite.protostar.util;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.util;
|
||||
package com.dust.tripartite.protostar.util;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.function.Function;
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.util;
|
||||
package com.dust.tripartite.protostar.util;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.util;
|
||||
package com.dust.tripartite.protostar.util;
|
||||
|
||||
import java.io.File;
|
||||
import java.lang.annotation.Annotation;
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.util;
|
||||
package com.dust.tripartite.protostar.util;
|
||||
|
||||
/**
|
||||
* @author yezhihao
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.util;
|
||||
package com.dust.tripartite.protostar.util;
|
||||
|
||||
import java.beans.Transient;
|
||||
import java.lang.reflect.Array;
|
|
@ -1,7 +1,7 @@
|
|||
package io.github.yezhihao.protostar.convert;
|
||||
package com.dust.tripartite.protostar.convert;
|
||||
|
||||
import io.github.yezhihao.protostar.DataType;
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.DataType;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
|
||||
public class Attr1 {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package io.github.yezhihao.protostar.convert;
|
||||
package com.dust.tripartite.protostar.convert;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
|
@ -42,7 +42,7 @@ public class Attr2 {
|
|||
return sb.toString();
|
||||
}
|
||||
|
||||
public static class Schema implements io.github.yezhihao.protostar.Schema<Attr2> {
|
||||
public static class Schema implements com.dust.tripartite.protostar.Schema<Attr2> {
|
||||
|
||||
public static final Schema INSTANCE = new Schema();
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package io.github.yezhihao.protostar.convert;
|
||||
package com.dust.tripartite.protostar.convert;
|
||||
|
||||
import io.github.yezhihao.protostar.PrepareLoadStrategy;
|
||||
import io.github.yezhihao.protostar.converter.MapConverter;
|
||||
import io.github.yezhihao.protostar.schema.NumberSchema;
|
||||
import io.github.yezhihao.protostar.schema.StringSchema;
|
||||
import com.dust.tripartite.protostar.converter.MapConverter;
|
||||
import com.dust.tripartite.protostar.schema.NumberSchema;
|
||||
import com.dust.tripartite.protostar.schema.StringSchema;
|
||||
import com.dust.tripartite.protostar.PrepareLoadStrategy;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
public class AttributeConverter extends MapConverter<Integer, Object> {
|
|
@ -1,9 +1,9 @@
|
|||
package io.github.yezhihao.protostar.convert;
|
||||
package com.dust.tripartite.protostar.convert;
|
||||
|
||||
import io.github.yezhihao.protostar.PrepareLoadStrategy;
|
||||
import io.github.yezhihao.protostar.converter.MapConverter;
|
||||
import io.github.yezhihao.protostar.schema.NumberSchema;
|
||||
import io.github.yezhihao.protostar.schema.StringSchema;
|
||||
import com.dust.tripartite.protostar.schema.StringSchema;
|
||||
import com.dust.tripartite.protostar.PrepareLoadStrategy;
|
||||
import com.dust.tripartite.protostar.converter.MapConverter;
|
||||
import com.dust.tripartite.protostar.schema.NumberSchema;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
public class AttributeConverterV2 extends MapConverter<Integer, Object> {
|
|
@ -1,9 +1,9 @@
|
|||
package io.github.yezhihao.protostar.convert;
|
||||
package com.dust.tripartite.protostar.convert;
|
||||
|
||||
import io.github.yezhihao.protostar.DataType;
|
||||
import io.github.yezhihao.protostar.ProtostarUtil;
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import io.github.yezhihao.protostar.schema.RuntimeSchema;
|
||||
import com.dust.tripartite.protostar.DataType;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.ProtostarUtil;
|
||||
import com.dust.tripartite.protostar.schema.RuntimeSchema;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.ByteBufUtil;
|
||||
import io.netty.buffer.Unpooled;
|
|
@ -1,9 +1,9 @@
|
|||
package io.github.yezhihao.protostar.multiversion;
|
||||
package com.dust.tripartite.protostar.multiversion;
|
||||
|
||||
import io.github.yezhihao.protostar.DataType;
|
||||
import io.github.yezhihao.protostar.ProtostarUtil;
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import io.github.yezhihao.protostar.schema.RuntimeSchema;
|
||||
import com.dust.tripartite.protostar.DataType;
|
||||
import com.dust.tripartite.protostar.ProtostarUtil;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.schema.RuntimeSchema;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.ByteBufUtil;
|
||||
import io.netty.buffer.Unpooled;
|
|
@ -1,10 +1,10 @@
|
|||
package io.github.yezhihao.protostar.simple;
|
||||
package com.dust.tripartite.protostar.simple;
|
||||
|
||||
import io.github.yezhihao.protostar.DataType;
|
||||
import io.github.yezhihao.protostar.FieldFactory;
|
||||
import io.github.yezhihao.protostar.ProtostarUtil;
|
||||
import io.github.yezhihao.protostar.annotation.Field;
|
||||
import io.github.yezhihao.protostar.schema.RuntimeSchema;
|
||||
import com.dust.tripartite.protostar.DataType;
|
||||
import com.dust.tripartite.protostar.FieldFactory;
|
||||
import com.dust.tripartite.protostar.ProtostarUtil;
|
||||
import com.dust.tripartite.protostar.annotation.Field;
|
||||
import com.dust.tripartite.protostar.schema.RuntimeSchema;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.ByteBufUtil;
|
||||
import io.netty.buffer.Unpooled;
|
Loading…
Reference in New Issue