This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| how to create your own page http://0532.github.io/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package pub.tools; | |
| import java.io.UnsupportedEncodingException; | |
| public class StringPad { | |
| public static String pad4ChineseToByteLength(boolean isLeftPad, String srcStr, int totalByteLength, String padStr) { | |
| if (srcStr == null) { | |
| return null; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package pub.tools; | |
| import org.springframework.util.StringUtils; | |
| import java.lang.reflect.Field; | |
| import java.math.BigDecimal; | |
| /** | |
| * 对象操作辅助类 | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package generator; | |
| import org.mybatis.generator.api.MyBatisGenerator; | |
| import org.mybatis.generator.config.Configuration; | |
| import org.mybatis.generator.config.xml.ConfigurationParser; | |
| import org.mybatis.generator.exception.XMLParserException; | |
| import org.mybatis.generator.internal.DefaultShellCallback; | |
| import java.io.File; | |
| import java.io.IOException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.apache.avro.Schema; | |
| import org.apache.avro.file.DataFileReader; | |
| import org.apache.avro.file.DataFileWriter; | |
| import org.apache.avro.generic.GenericData; | |
| import org.apache.avro.generic.GenericDatumReader; | |
| import org.apache.avro.generic.GenericDatumWriter; | |
| import org.apache.avro.generic.GenericRecord; | |
| import org.apache.avro.io.DatumReader; | |
| import org.apache.avro.io.DatumWriter; | |
| import org.apache.avro.io.EncoderFactory; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.fbi.ibp.helper; | |
| import org.fbi.ibp.internal.AppActivator; | |
| import org.osgi.framework.BundleContext; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import java.io.File; | |
| import java.net.URL; | |
| import java.util.Properties; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function quickSort(A) { | |
| var smaller = []; var larger = []; | |
| if (A.length <= 1) | |
| return A; | |
| for (var i = 1; i < A.length; i++) { | |
| if (A[i] < A[0]) | |
| smaller.push(A[i]); | |
| if (A[i] >= A[0]) | |
| larger.push(A[i]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.jxl.tool; | |
| import java.io.File; | |
| import javax.xml.parsers.DocumentBuilder; | |
| import javax.xml.parsers.DocumentBuilderFactory; | |
| import javax.xml.transform.TransformerFactory; | |
| import javax.xml.transform.dom.DOMSource; | |
| import javax.xml.transform.stream.StreamResult; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package feb.service; | |
| import com.itextpdf.text.*; | |
| import com.itextpdf.text.pdf.*; | |
| import feb.print.model.Vch; | |
| import org.springframework.stereotype.Service; | |
| import pub.platform.advance.utils.PropertyManager; | |
| import pub.platform.security.OperatorManager; | |
| import pub.tools.StringPad; | |
| import skyline.service.SkylineService; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package sentMail; | |
| import org.apache.poi.xssf.usermodel.XSSFCell; | |
| import org.apache.poi.xssf.usermodel.XSSFSheet; | |
| import org.apache.poi.xssf.usermodel.XSSFWorkbook; | |
| import org.springframework.mail.SimpleMailMessage; | |
| import org.springframework.mail.javamail.JavaMailSenderImpl; | |
| import java.io.*; |
OlderNewer