<repositories>
<repository>
<id>central</id>
<url>https://mvn.pedrodavi.com.br/</url>
</repository>
</repositories>
<dependency>
<groupId>docval</groupId>
<artifactId>docval</artifactId>
<version>1.0.0</version>
</dependency>
boolean cpf = Docval.checkCPF("796.850.250-02");
boolean cnpj = Docval.checkCNPJ("28.535.777/0001-70");
boolean ie = Docval.checkIE("44516185-0", "PB");
<dependency>
<groupId>ValidateXmlByXsd</groupId>
<artifactId>ValidateXmlByXsd</artifactId>
<version>1.0.0</version>
</dependency>
File xml = new File("arquivo.xml");
File xsd = new File("arquivo.xsd");
ValidateXmlByXsd.validate(xml, xsd);
<dependency>
<groupId>tratimg</groupId>
<artifactId>tratimg</artifactId>
<version>1.0.0</version>
</dependency>
// Instância
File file = new File("C:\\teste.png");
BufferedImage bufferedImage = ImageIO.read(file);
Tratimg tratimg = new Tratimg();
BufferedImage bufferedImageOutput = tratimg.tonsDeCinza(bufferedImage);
ImageIO.write(bufferedImageOutput, "png", new File("C:\\saida.png"));
// Exemplo de métodos
tratimg.binarizacao();
tratimg.CalcMediana();
tratimg.brilho();
tratimg.contraste();
tratimg.tonsDeCinza();
tratimg.calculaHistograma();
tratimg.calculaHistogramaAcumulado();
tratimg.equalizacao();
tratimg.LeJanela3x3();
tratimg.negativo();
tratimg.paleta();
tratimg.passaAlta();
tratimg.suavizacao();