Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>org.jrimum</groupId>
<artifactId>jrimum-texgit</artifactId>
<name>Projeto Texgit</name>
<version>0.2.3-DEV-SNAPSHOT</version>
<version>0.2.6</version>
<description>Projeto open source de componentes de software para o domínio de negócios do Brasil.</description>
<url>http://www.jrimum.org/texgit</url>

Expand Down Expand Up @@ -44,6 +44,10 @@
<name>Rômulo Augusto</name>
<email>romulomail@gmail.com</email>
</developer>
<developer>
<name>Bruno Augusto</name>
<email>brunoaugustosilva8@gmail.com</email>
</developer>
</developers>

<properties>
Expand All @@ -58,18 +62,18 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.6</version>
<version>1.23</version>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java15</artifactId>
<artifactId>java18</artifactId>
<version>1.0</version>
</signature>
</configuration>
Expand Down Expand Up @@ -162,7 +166,7 @@
<dependency>
<groupId>org.jrimum</groupId>
<artifactId>jrimum-utilix</artifactId>
<version>0.2.3-DEV-SNAPSHOT</version>
<version>0.2.5</version>
</dependency>
<dependency>
<groupId>sun-jaxb</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/assembly/jrimum-texgit-with-dependencies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<unpack>true</unpack>
<scope>runtime</scope>
<excludes>
<exclude>commons-lang:commons-lang</exclude>
<exclude>org.apache.commons:commons-lang3</exclude>
<exclude>log4j:log4j</exclude>
<exclude>sun-jaxb:jaxb-api</exclude>
<exclude>sun-jaxb:jaxb-impl</exclude>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jrimum/texgit/FlatFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/**
* @author <a href="http://gilmatryx.googlepages.com/">Gilmar P.S.L.</a>
*
* @param <G>
* @param <G> Classe Genérica de Record
*/
public interface FlatFile<G extends Record> extends TextListStream {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jrimum/texgit/Texgit.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
package org.jrimum.texgit;

import static org.apache.commons.lang.StringUtils.isNotBlank;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import static org.jrimum.utilix.Objects.isNotNull;

import java.io.ByteArrayInputStream;
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/org/jrimum/texgit/TexgitException.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,24 @@ public TexgitException() {
}

/**
* @param arg0
* @param arg1
* @param arg0 Argumento 0
* @param arg1 Stack Trace do erro
*/
public TexgitException(String arg0, Throwable arg1) {
super(arg0, arg1);

}

/**
* @param arg0
* @param arg0 Argumento 0
*/
public TexgitException(String arg0) {
super(arg0);

}

/**
* @param arg0
* @param arg0 Stack trace do erro
*/
public TexgitException(Throwable arg0) {
super(arg0);
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/jrimum/texgit/engine/FixedFieldBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
*/
package org.jrimum.texgit.engine;

import static org.apache.commons.lang.StringUtils.EMPTY;
import static org.apache.commons.lang.StringUtils.countMatches;
import static org.apache.commons.lang.StringUtils.isNotBlank;
import static org.apache.commons.lang3.StringUtils.EMPTY;
import static org.apache.commons.lang3.StringUtils.countMatches;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import static org.jrimum.utilix.Objects.isNotNull;

import java.math.BigDecimal;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jrimum/texgit/engine/RecordFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
package org.jrimum.texgit.engine;

import static org.apache.commons.lang.StringUtils.isNotBlank;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import static org.jrimum.utilix.Objects.isNotNull;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,24 @@ public TexgitLanguageException() {
}

/**
* @param arg0
* @param arg1
* @param arg0 Argumento 0
* @param arg1 Argumento 1
*/
public TexgitLanguageException(String arg0, Throwable arg1) {
super(arg0, arg1);

}

/**
* @param arg0
* @param arg0 Argumento0
*/
public TexgitLanguageException(String arg0) {
super(arg0);

}

/**
* @param arg0
* @param arg0 Argumento -
*/
public TexgitLanguageException(Throwable arg0) {
super(arg0);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jrimum/texgit/language/EnumFormats.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
* <p>
* </p>
*
* <pre>
* &lt;simpleType name=&quot;enumFormats&quot;&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
* <p>
* </p>
*
* <pre>
* &lt;simpleType name=&quot;enumFormatsTypes&quot;&gt;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jrimum/texgit/language/EnumPaddings.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
* <p>
* </p>
*
* <pre>
* &lt;simpleType name=&quot;enumPaddings&quot;&gt;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jrimum/texgit/language/EnumSide.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
* <p>
* </p>
*
* <pre>
* &lt;simpleType name=&quot;enumSide&quot;&gt;
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/jrimum/texgit/language/EnumTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
*
*
* <p>
* Tipos usados para obten��o dos campos de texto para java. No caso representa
* os tipos java poss�veis para um campo.
* Tipos usados para obtenção dos campos de texto para java. No caso representa
* os tipos java possíveis para um campo.
* </p>
*
*
Expand All @@ -53,7 +53,7 @@
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
* <p>
* </p>
*
* <pre>
* &lt;simpleType name=&quot;enumTypes&quot;&gt;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/jrimum/texgit/language/MetaField.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ public void setFormat(EnumFormats value) {
/**
* Gets the value of the length property.
*
* @return Tamanho do campo
*/
public int getLength() {
return length;
Expand All @@ -205,6 +206,7 @@ public int getLength() {
/**
* Sets the value of the length property.
*
* @param value Tamanho do campo
*/
public void setLength(int value) {
this.length = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void setIdType(MetaOrderedField value) {
* Objects of the following type(s) are allowed in the list
* {@link MetaField }
*
*
* @return Lista de campos
*/
public List<MetaField> getFields() {
if (fields == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class MetaGroupRecords {
* Objects of the following type(s) are allowed in the list
* {@link MetaRecord }
*
*
* @return Lista de instruções
*/
public List<MetaRecord> getRecords() {
if (records == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public class MetaOrderedField extends MetaField {
/**
* Gets the value of the position property.
*
* @return Posição
*/
public int getPosition() {
return position;
Expand All @@ -70,6 +71,7 @@ public int getPosition() {
/**
* Sets the value of the position property.
*
* @param value Posição do campo
*/
public void setPosition(int value) {
this.position = value;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/org/jrimum/texgit/language/ObjectFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public ObjectFactory() {
/**
* Create an instance of {@link MetaField }
*
* @return Objeto do campo
*/
public MetaField createMetaField() {
return new MetaField();
Expand All @@ -76,6 +77,7 @@ public MetaField createMetaField() {
/**
* Create an instance of {@link MetaFlatFile }
*
* @return Objeto de MetaFlatFile
*/
public MetaFlatFile createMetaFlatFile() {
return new MetaFlatFile();
Expand All @@ -84,6 +86,7 @@ public MetaFlatFile createMetaFlatFile() {
/**
* Create an instance of {@link MetaOrderedField }
*
* @return objeto MetaOrderedField
*/
public MetaOrderedField createMetaOrderedField() {
return new MetaOrderedField();
Expand All @@ -92,6 +95,7 @@ public MetaOrderedField createMetaOrderedField() {
/**
* Create an instance of {@link MetaRecord }
*
* @return Objeto de MetaRecord
*/
public MetaRecord createMetaRecord() {
return new MetaRecord();
Expand All @@ -100,6 +104,7 @@ public MetaRecord createMetaRecord() {
/**
* Create an instance of {@link MetaLayout }
*
* @return Objeto de MetaLayout
*/
public MetaLayout createMetaLayout() {
return new MetaLayout();
Expand All @@ -108,6 +113,7 @@ public MetaLayout createMetaLayout() {
/**
* Create an instance of {@link MetaTexgit }
*
* @return Objeto de MetaTexgits
*/
public MetaTexgit createMetaTexgit() {
return new MetaTexgit();
Expand All @@ -116,6 +122,7 @@ public MetaTexgit createMetaTexgit() {
/**
* Create an instance of {@link MetaFormatter }
*
* @return Objeto de MetaFormatter
*/
public MetaFormatter createMetaFormatter() {
return new MetaFormatter();
Expand All @@ -124,6 +131,7 @@ public MetaFormatter createMetaFormatter() {
/**
* Create an instance of {@link MetaGroupFields }
*
* @return Objeto de MetaGroupFields
*/
public MetaGroupFields createMetaGroupFields() {
return new MetaGroupFields();
Expand All @@ -132,6 +140,7 @@ public MetaGroupFields createMetaGroupFields() {
/**
* Create an instance of {@link MetaGroupRecords }
*
* @return Objeto de MetaGroupRecords
*/
public MetaGroupRecords createMetaGroupRecords() {
return new MetaGroupRecords();
Expand All @@ -140,6 +149,7 @@ public MetaGroupRecords createMetaGroupRecords() {
/**
* Create an instance of {@link MetaFiller }
*
* @return Objeto de MetaFiller
*/
public MetaFiller createMetaFiller() {
return new MetaFiller();
Expand All @@ -148,6 +158,8 @@ public MetaFiller createMetaFiller() {
/**
* Create an instance of {@link JAXBElement }{@code <}{@link MetaTexgit }{@code >}}
*
* @param value Objeto do MetaTexgit
* @return JAXBElement
*/
@XmlElementDecl(namespace = "http://jrimum.org/texgit", name = "Texgit")
public JAXBElement<MetaTexgit> createTexgit(MetaTexgit value) {
Expand All @@ -157,6 +169,8 @@ public JAXBElement<MetaTexgit> createTexgit(MetaTexgit value) {

/**
* Create an instance of {@link MetaGroupFields.SequencialNumber }}
* @param value Objeto do MetaOrderedField
* @return MetaGroupFields.SequencialNumber
*
*/
@XmlElementDecl(namespace = "", name = "SequencialNumber", scope = MetaGroupFields.class)
Expand All @@ -167,6 +181,8 @@ public MetaGroupFields.SequencialNumber createMetaGroupFieldsSequencialNumber(

/**
* Create an instance of {@link MetaGroupFields.IdType }}
* @param value Objeto do MetaOrderedField
* @return MetaGroupFields.IdType
*
*/
@XmlElementDecl(namespace = "", name = "IdType", scope = MetaGroupFields.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
import java.util.List;
import java.util.ListIterator;

import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
import org.jrimum.texgit.TextStream;
import org.jrimum.utilix.Collections;
import org.jrimum.utilix.Objects;

/**
* @author <a href="http://gilmatryx.googlepages.com/">Gilmar P.S.L.</a>
*
* @param <G>
* @param <G> Tipo do field contido na StringOfFields
*/
@SuppressWarnings("serial")
public abstract class AbstractStringOfFields<G extends Field<?>> implements TextStream, List<G>, Cloneable{
Expand All @@ -63,6 +63,7 @@ public AbstractStringOfFields() {
}

/**
* @param size Quantidade de fields que a StringOfFields deve conter. Deve ser um número natural &gt; 0.
*
*/
public AbstractStringOfFields(Integer size) {
Expand Down
Loading