MCPcopy Create free account

hub / github.com/albfernandez/javadbf / functions

Functions397 in github.com/albfernandez/javadbf

↓ 308 callersMethodassertColumnDefinition
(DBFField field, String columnName, DBFDataType type, int length, int decimal)
src/test/java/com/linuxense/javadbf/testutils/AssertUtils.java:31
↓ 298 callersMethodfromCode
Gets the DBFDataType from the code used in the file @param code the code used by dbase @return The DBFDataType from the code used in the file
src/main/java/com/linuxense/javadbf/DBFDataType.java:183
↓ 141 callersMethodclose
Closes silently a #{@link java.io.Closeable}. it can be null or throws an exception, will be ignored. @param closeable The item to close
src/main/java/com/linuxense/javadbf/DBFUtils.java:358
↓ 96 callersMethodforName
(String name)
src/main/java/com/linuxense/javadbf/DBFCharsetHelper.java:125
↓ 57 callersMethodaddRecord
Add a record. @param values fields of the record
src/main/java/com/linuxense/javadbf/DBFWriter.java:246
↓ 50 callersMethodsetName
Sets the name of the field. @param name of the field as String. @since 0.3.3.1
src/main/java/com/linuxense/javadbf/DBFField.java:340
↓ 49 callersMethodsetType
Set the type for this field @param type The type for this field @throws IllegalArgumentException if type is not write supported
src/main/java/com/linuxense/javadbf/DBFField.java:429
↓ 45 callersMethodsetLength
Set Length of the field. This method should be called before calling setDecimalCount(). @param length of the field as int.
src/main/java/com/linuxense/javadbf/DBFField.java:406
↓ 41 callersMethodnextRecord
Reads the returns the next row in the DBF stream. @return The next row as an Object array. Types of the elements these arrays follow the con
src/main/java/com/linuxense/javadbf/DBFReader.java:311
↓ 40 callersMethodgetName
Returns the name of the field. @return Name of the field as String.
src/main/java/com/linuxense/javadbf/DBFField.java:301
↓ 38 callersMethodsetFields
Sets fields definition. To keep maximum compatibility a maximum of 255 columns should be used. https://docs.microsoft.com/en-us/previous-versions/visu
src/main/java/com/linuxense/javadbf/DBFWriter.java:184
↓ 31 callersMethodgetType
Gets the type for this field @return The type for this field
src/main/java/com/linuxense/javadbf/DBFField.java:420
↓ 29 callersMethodgetLength
Returns field length. @return field length as int.
src/main/java/com/linuxense/javadbf/DBFField.java:312
↓ 23 callersMethodgetFieldCount
Returns the number of field in the DBF. @return number of fields in the DBF file
src/main/java/com/linuxense/javadbf/DBFReader.java:301
↓ 23 callersMethodgetHeader
()
src/main/java/com/linuxense/javadbf/DBFReader.java:561
↓ 21 callersMethodnextRow
Reads the returns the next row in the DBF stream. @return The next row as an DBFRow
src/main/java/com/linuxense/javadbf/DBFReader.java:404
↓ 19 callersMethodsetDecimalCount
Sets the decimal place size of the field. Before calling this method the size of the field should be set by calling setFieldLength(). @param si
src/main/java/com/linuxense/javadbf/DBFField.java:448
↓ 17 callersMethodgetBytes
Reads the data as byte[] @param columnName columnName @return the data as byte[]
src/main/java/com/linuxense/javadbf/DBFRow.java:189
↓ 16 callersMethodgetField
Returns the asked Field. In case of an invalid index, it returns a ArrayIndexOutofboundsException. @param index Index of the field. Index of the firs
src/main/java/com/linuxense/javadbf/DBFReader.java:290
↓ 16 callersMethodwrite
Writes the set data to the OutputStream. @param out the output stream @deprecated use {@link #DBFWriter(OutputStream)} constructor and call close
src/main/java/com/linuxense/javadbf/DBFWriter.java:457
↓ 15 callersMethodgetString
Reads the data as string @param columnName columnName @return the value converted to String
src/main/java/com/linuxense/javadbf/DBFRow.java:96
↓ 14 callersMethodtestReadDBFFile
(String fileName, int expectedColumns, int expectedRows)
src/test/java/com/linuxense/javadbf/ReadDBFAssert.java:35
↓ 14 callersMethodtextPadding
pad a string and convert it to byte[] to write to a dbf file (by default, add whitespaces to the end of the string) @param text The text to be padded
src/main/java/com/linuxense/javadbf/DBFUtils.java:195
↓ 14 callersMethodtoString
()
src/main/java/com/linuxense/javadbf/DBFField.java:483
↓ 13 callersMethodlittleEndian
Convert a short value to littleEndian @param value value to be converted @return littleEndian short
src/main/java/com/linuxense/javadbf/DBFUtils.java:152
↓ 12 callersMethodgetCharset
Gets the charset used to read and write files. @return charset used to read and write files
src/main/java/com/linuxense/javadbf/DBFBase.java:46
↓ 11 callersMethodcreateDate
(int year, int month, int day)
src/test/java/com/linuxense/javadbf/testutils/DateUtils.java:26
↓ 11 callersMethodgetDecimalCount
Returns the decimal part. This is applicable only if the field type if of numeric in nature. If the field is specified to hold integral values
src/main/java/com/linuxense/javadbf/DBFField.java:327
↓ 11 callersMethodsetCharset
(Charset charset)
src/main/java/com/linuxense/javadbf/DBFBase.java:61
↓ 11 callersMethodtoBoolean
Convert LOGICAL (L) byte to boolean value @param t_logical The byte value as stored in the file @return The boolean value
src/main/java/com/linuxense/javadbf/DBFUtils.java:319
↓ 10 callersMethodclose
In sync mode, write the header and close the file
src/main/java/com/linuxense/javadbf/DBFWriter.java:336
↓ 10 callersMethodexport
(DBFReader reader, File file)
src/test/java/com/linuxense/javadbf/testutils/DbfToTxtTest.java:38
↓ 10 callersMethodgenerateFields
()
src/test/java/com/linuxense/javadbf/DBFWriterStreamTest.java:226
↓ 10 callersMethodgetColumnIndex
(String columnName)
src/main/java/com/linuxense/javadbf/DBFRow.java:44
↓ 10 callersMethodgetDBFCodeForCharset
gets the DBF code for a given Java charset @param charset the Java charset @return the DBF code, 0 if unknown
src/main/java/com/linuxense/javadbf/DBFCharsetHelper.java:138
↓ 10 callersMethodreadLittleEndianShort
Read a littleEndian short(16 bits) from DataInput @param in DataInput to read from @return short value of next 16 bits as littleEndian @throws IOExcep
src/main/java/com/linuxense/javadbf/DBFUtils.java:111
↓ 10 callersMethodreadText
Only for testing purposes @param block position of first block of this field @return text contained in the block
src/main/java/com/linuxense/javadbf/DBFMemoFile.java:133
↓ 10 callersMethodsetMemoFile
Sets the memo file (DBT or FPT) where memo fields will be readed. If no file is provided, then this fields will be null. @param file the file containi
src/main/java/com/linuxense/javadbf/DBFReader.java:587
↓ 9 callersMethodreadLittleEndianInt
Read a littleEndian integer(32b its) from DataInput @param in DataInput to read from @return int value of next 32 bits as littleEndian @throws IOExcep
src/main/java/com/linuxense/javadbf/DBFUtils.java:97
↓ 8 callersMethodgetDouble
Reads the data as Double @param columnName columnName @return the data as Double
src/main/java/com/linuxense/javadbf/DBFRow.java:251
↓ 7 callersMethodcontains
Checks that a byte array contains some specific byte @param array The array to search in @param value The byte to search for @return true if the array
src/main/java/com/linuxense/javadbf/DBFUtils.java:272
↓ 7 callersMethodisPureAscii
Checks if a string is pure Ascii @param stringToCheck the string @return true if is ascci
src/main/java/com/linuxense/javadbf/DBFUtils.java:288
↓ 7 callersMethodisSystem
Checks if is a system field @return true if it is a system field
src/main/java/com/linuxense/javadbf/DBFField.java:465
↓ 7 callersMethodremoveSpaces
Remove all spaces (32) found in the data. @param array the data @return the data cleared of whitespaces
src/main/java/com/linuxense/javadbf/DBFUtils.java:122
↓ 7 callersMethodseek
(long pos)
src/main/java/com/linuxense/javadbf/DBFMemoFile.java:71
↓ 7 callersMethodtrimRightSpaces
Trims right spaces from string @param b_array the string @return the string without right spaces
src/main/java/com/linuxense/javadbf/DBFUtils.java:333
↓ 7 callersMethodwrite
Writes the content of DBFField object into the stream as per DBF format specifications. @param out OutputStream @param charset dbf file's charset @th
src/main/java/com/linuxense/javadbf/DBFField.java:274
↓ 6 callersMethoddoubleFormating
Format a double number to write to a dbf file @param num number to format @param charset charset to use @param fieldLength field length @param sizeDec
src/main/java/com/linuxense/javadbf/DBFUtils.java:243
↓ 6 callersMethodgetCharsetByByte
Gets Java charset from DBF code @param b the code stored in DBF file @return Java charset, null if unknown.
src/main/java/com/linuxense/javadbf/DBFCharsetHelper.java:47
↓ 5 callersMethodTRUNCATE_VALUE
(long value, int bits)
src/main/java/com/linuxense/javadbf/DBFExploder.java:159
↓ 5 callersMethodgetRecordCount
Returns the number of records in the DBF. This number includes deleted (hidden) records @return number of records in the DBF file.
src/main/java/com/linuxense/javadbf/DBFReader.java:268
↓ 5 callersMethodgetUsedCharset
()
src/main/java/com/linuxense/javadbf/DBFHeader.java:333
↓ 5 callersMethodread
(byte[] b)
src/main/java/com/linuxense/javadbf/DBFMemoFile.java:80
↓ 5 callersMethodreadData
(int block, DBFDataType type)
src/main/java/com/linuxense/javadbf/DBFMemoFile.java:145
↓ 5 callersMethodwriteToConsole
(File file)
src/test/java/com/linuxense/javadbf/testutils/DbfToTxtTest.java:60
↓ 4 callersMethodgetObject
Read the column as original type @param columnName columnName @return the original value unconverted
src/main/java/com/linuxense/javadbf/DBFRow.java:74
↓ 4 callersMethodisDB7
()
src/main/java/com/linuxense/javadbf/DBFHeader.java:200
↓ 4 callersMethodpkexplode
(byte[] pInBuffer, DBFStorage out, int outSize)
src/main/java/com/linuxense/javadbf/DBFExploder.java:165
↓ 4 callersMethodreadAllBytes
(File file)
src/main/java/com/linuxense/javadbf/DBFUtils.java:398
↓ 4 callersMethodsetUsedCharset
(Charset charset)
src/main/java/com/linuxense/javadbf/DBFHeader.java:336
↓ 4 callersMethodskip
Safely skip bytesToSkip bytes (in some bufferd scenarios skip doesn't really skip all requested bytes) @param bytesToSkip number of bytes to skip @thr
src/main/java/com/linuxense/javadbf/DBFReader.java:540
↓ 3 callersMethodaddByte
(byte b, int pos)
src/main/java/com/linuxense/javadbf/DBFExploder.java:404
↓ 3 callersMethodgetInt
Reads the data as int @param columnName columnName @return the data as int
src/main/java/com/linuxense/javadbf/DBFRow.java:311
↓ 3 callersMethodisFPT
()
src/main/java/com/linuxense/javadbf/DBFMemoFile.java:124
↓ 3 callersMethodprint
(DBFRow row, int fieldCount)
src/test/java/com/linuxense/javadbf/bug49/Bug49Test.java:48
↓ 3 callersMethodsetDataType
Sets the data type of the field. @param type of the field. One of the following:<br> C, L, N, F, D, M @deprecated This method i
src/main/java/com/linuxense/javadbf/DBFField.java:530
↓ 3 callersMethodsetFieldLength
Length of the field. This method should be called before calling setDecimalCount(). @param length of the field as int. @deprecated use {@link #set
src/main/java/com/linuxense/javadbf/DBFField.java:516
↓ 3 callersMethodsetFieldName
@param value the name of the field @deprecated This method is deprecated and is replaced by {@link #setName(String)}.
src/main/java/com/linuxense/javadbf/DBFField.java:539
↓ 3 callersMethodsetTrimRightSpaces
Determine if character fields should be right trimmed (default true) @param trimRightSpaces if reading fields should trim right spaces
src/main/java/com/linuxense/javadbf/DBFReader.java:576
↓ 3 callersMethodskip
Safely skip bytesToSkip bytes (in some bufferd scenarios skip doesn't really skip all requested bytes) @param inputStream the Inputstream @param bytes
src/main/java/com/linuxense/javadbf/DBFUtils.java:374
↓ 2 callersMethodaddRecord
(Object[] values)
src/main/java/com/linuxense/javadbf/DBFLockWriter.java:43
↓ 2 callersMethodadjustLengthForLongCharSupport
(DBFField field)
src/main/java/com/linuxense/javadbf/DBFField.java:254
↓ 2 callersMethodclose
()
src/main/java/com/linuxense/javadbf/DBFReader.java:613
↓ 2 callersMethodconvert
(String source, String target)
src/main/java/com/linuxense/javadbf/DBFtoDBC.java:54
↓ 2 callersMethodcopyFile
(File source, File dest)
src/test/java/com/linuxense/javadbf/testutils/FileUtils.java:15
↓ 2 callersMethodcreateFields
()
src/test/java/com/linuxense/javadbf/DBFWriterRandomAccesTest.java:83
↓ 2 callersMethodcreateFields
()
src/test/java/com/linuxense/javadbf/DBFLockWriterTest.java:66
↓ 2 callersMethodcreateInMemoryStorage
(byte[] buffer)
src/main/java/com/linuxense/javadbf/DBFExploder.java:460
↓ 2 callersMethodcreateOutputStreamStorage
(OutputStream out)
src/main/java/com/linuxense/javadbf/DBFExploder.java:456
↓ 2 callersMethodgetAdjustedOutputSize
(byte[] compressedData)
src/main/java/com/linuxense/javadbf/DBFExploderInputStream.java:73
↓ 2 callersMethodgetAllBytesOrNull
(File file)
src/test/java/com/linuxense/javadbf/DBFtoDBCTest.java:39
↓ 2 callersMethodgetBoolean
Reads the data as Boolean @param columnName columnName @return the data as Boolean
src/main/java/com/linuxense/javadbf/DBFRow.java:158
↓ 2 callersMethodgetCode
Gets the code as stored in the dbf file. @return the code for this type
src/main/java/com/linuxense/javadbf/DBFDataType.java:138
↓ 2 callersMethodgetCompressedByteStream
()
src/main/java/com/linuxense/javadbf/DBFExploderInputStream.java:81
↓ 2 callersMethodgetCount
()
src/test/java/com/linuxense/javadbf/mocks/NullOutputStream.java:68
↓ 2 callersMethodgetDataInput
()
src/main/java/com/linuxense/javadbf/DBFMemoFile.java:87
↓ 2 callersMethodgetDataType
Returns the data type of the field. @return Data type as byte. @deprecated This method is deprecated and is replaced by {@link #getType()}
src/main/java/com/linuxense/javadbf/DBFField.java:550
↓ 2 callersMethodgetDefaultSize
Gets the default size for this type @return default size for this type
src/main/java/com/linuxense/javadbf/DBFDataType.java:168
↓ 2 callersMethodgetMaxSize
Gets the maximum size for this type @return Maximum size for this type
src/main/java/com/linuxense/javadbf/DBFDataType.java:161
↓ 2 callersMethodgetMinSize
Gets the minimum size for this type @return minimum size for this type
src/main/java/com/linuxense/javadbf/DBFDataType.java:154
↓ 2 callersMethodgetRamdonAccessFile
Get de underlying RandomAccessFile. It can be null if OutputStream constructor is used. @return the underlying RandomAccessFile
src/main/java/com/linuxense/javadbf/DBFWriter.java:447
↓ 2 callersMethodisClosed
Check if the writer is closed @return true if already closed
src/main/java/com/linuxense/javadbf/DBFWriter.java:439
↓ 2 callersMethodisDeleted
Check if the record is deleted. if you pass true on showDeletedRows to DBFReader constructor, deleted records are retrieved and this method allows you
src/main/java/com/linuxense/javadbf/DBFRow.java:63
↓ 2 callersMethodisNullable
Checks if the field is nullable @return true if the field is nullable
src/main/java/com/linuxense/javadbf/DBFField.java:472
↓ 2 callersMethodisWriteSupported
Gets if JavaDBF can write this type @return true if JavaDBF can write this type
src/main/java/com/linuxense/javadbf/DBFDataType.java:175
↓ 2 callersMethodread
()
src/test/java/com/linuxense/javadbf/mocks/FailInputStream.java:26
↓ 2 callersMethodreadMemoField
(DBFField field)
src/main/java/com/linuxense/javadbf/DBFReader.java:521
↓ 2 callersMethodreadNumericStoredAsText
Reads a number from a stream, @param dataInput the stream data @param length the legth of the number @return The number as a Number (BigDecimal) @thro
src/main/java/com/linuxense/javadbf/DBFUtils.java:68
↓ 2 callersMethodremoveNullBytes
Remove all nulls (0) found in the data. @param array the data @return the data cleared of whitespaces
src/main/java/com/linuxense/javadbf/DBFUtils.java:137
↓ 2 callersMethodskipFirst
(byte[] converted, int from)
src/test/java/com/linuxense/javadbf/DBFtoDBCTest.java:35
next →1–100 of 397, ranked by callers