Browse Source

修改util授权

pull/2171/head
Jiaju Zhuang 3 years ago
parent
commit
c5ec482bfc
  1. 15
      src/main/java/com/alibaba/excel/util/BooleanUtils.java
  2. 17
      src/main/java/com/alibaba/excel/util/ClassUtils.java
  3. 17
      src/main/java/com/alibaba/excel/util/FieldUtils.java
  4. 14
      src/main/java/com/alibaba/excel/util/FileUtils.java
  5. 15
      src/main/java/com/alibaba/excel/util/MemberUtils.java
  6. 17
      src/main/java/com/alibaba/excel/util/Validate.java

15
src/main/java/com/alibaba/excel/util/BooleanUtils.java

@ -1,9 +1,20 @@
package com.alibaba.excel.util; package com.alibaba.excel.util;
/** /**
* boolean util * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* *
* @author Jiaju Zhuang * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author Apache Software Foundation (ASF)
*/ */
public class BooleanUtils { public class BooleanUtils {

17
src/main/java/com/alibaba/excel/util/ClassUtils.java

@ -38,10 +38,21 @@ import lombok.Setter;
import net.sf.cglib.beans.BeanMap; import net.sf.cglib.beans.BeanMap;
/** /**
* Class utils * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* *
* @author Jiaju Zhuang * Unless required by applicable law or agreed to in writing, software
**/ * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author Apache Software Foundation (ASF)
*/
public class ClassUtils { public class ClassUtils {
public static final Map<Class<?>, FieldCache> FIELD_CACHE = new ConcurrentHashMap<>(); public static final Map<Class<?>, FieldCache> FIELD_CACHE = new ConcurrentHashMap<>();

17
src/main/java/com/alibaba/excel/util/FieldUtils.java

@ -9,10 +9,21 @@ import com.alibaba.excel.metadata.NullObject;
import net.sf.cglib.beans.BeanMap; import net.sf.cglib.beans.BeanMap;
/** /**
* Field utils * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* *
* @author Jiaju Zhuang * Unless required by applicable law or agreed to in writing, software
**/ * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author Apache Software Foundation (ASF)
*/
public class FieldUtils { public class FieldUtils {
public static Class<?> nullObjectClass = NullObject.class; public static Class<?> nullObjectClass = NullObject.class;

14
src/main/java/com/alibaba/excel/util/FileUtils.java

@ -16,8 +16,20 @@ import org.apache.poi.util.DefaultTempFileCreationStrategy;
import org.apache.poi.util.TempFile; import org.apache.poi.util.TempFile;
/** /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* *
* @author jipengfei * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author Apache Software Foundation (ASF)
*/ */
public class FileUtils { public class FileUtils {
public static final String POI_FILES = "poifiles"; public static final String POI_FILES = "poifiles";

15
src/main/java/com/alibaba/excel/util/MemberUtils.java

@ -5,9 +5,20 @@ import java.lang.reflect.Member;
import java.lang.reflect.Modifier; import java.lang.reflect.Modifier;
/** /**
* Member utils. * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* *
* @author Jiaju Zhuang * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author Apache Software Foundation (ASF)
*/ */
public class MemberUtils { public class MemberUtils {

17
src/main/java/com/alibaba/excel/util/Validate.java

@ -3,9 +3,20 @@ package com.alibaba.excel.util;
import java.util.Objects; import java.util.Objects;
/** /**
* Validate * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* @author Jiaju Zhuang * this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author Apache Software Foundation (ASF)
*/ */
public class Validate { public class Validate {

Loading…
Cancel
Save