C D E F G M N P R S T 

C

changeExtension(String) - Method in class de.mgmechanics.myflipflops.io.File
Changes the file name extension and returns the result.
Checksum - Class in de.mgmechanics.myflipflops.File
This class provides methods for calculating checksums.

D

de.mgmechanics.myflipflops.calc - package de.mgmechanics.myflipflops.calc
 
de.mgmechanics.myflipflops.File - package de.mgmechanics.myflipflops.File
 
de.mgmechanics.myflipflops.io - package de.mgmechanics.myflipflops.io
 
de.mgmechanics.myflipflops.swing - package de.mgmechanics.myflipflops.swing
 

E

extensionSeparator - Variable in class de.mgmechanics.myflipflops.io.File
The character which splits the file name extension from the file name.
extensionSeparatorChar - Variable in class de.mgmechanics.myflipflops.io.File
The character which splits the file name extension from the file name.

F

File - Class in de.mgmechanics.myflipflops.io
This class adds some functionality to the class java.io.File.
File(File, String) - Constructor for class de.mgmechanics.myflipflops.io.File
Same as java.io.File.
File(String) - Constructor for class de.mgmechanics.myflipflops.io.File
Same as java.io.File.
File(String, String) - Constructor for class de.mgmechanics.myflipflops.io.File
Same as java.io.File.
File(URI) - Constructor for class de.mgmechanics.myflipflops.io.File
Same as java.io.File.
file2Array(File, String) - Static method in class de.mgmechanics.myflipflops.File.Textfile
Reads a textfile in a list of strings.
This method reads line after line (without the newlines at the end) and stores each line as a field in the list.
file2Array(File) - Static method in class de.mgmechanics.myflipflops.File.Textfile
Same as file2Array (File file, String charset) but uses always UTF-8 as character set.
file2String(File, String) - Static method in class de.mgmechanics.myflipflops.File.Textfile
Read a (text-)file in to a string.
file2String(File) - Static method in class de.mgmechanics.myflipflops.File.Textfile
Same as file2String (File file, String charset) but uses always UTF-8 as character set.
fileCopy(File, File) - Static method in class de.mgmechanics.myflipflops.File.Textfile
This method copies the file "source" to the file "destination".
fillWithZero(String, int) - Static method in class de.mgmechanics.myflipflops.File.Textfile
Fills a string with zeros from the beginning if the string is to short.
Examples: Textfile.fillWithZero("23", 1) => "23", Textfile.fillWithZero("23", 2) => "23", Textfile.fillWithZero("23", 3) => "023"

G

getArray(String) - Static method in class de.mgmechanics.myflipflops.File.SimplestCsv
Takes a table as CSV encoded string and returns the fields as rectangular or non-rectangular 2D-table.
getArray(String, String) - Static method in class de.mgmechanics.myflipflops.File.SimplestCsv
Takes a table as CSV encoded string and returns the fields as rectangular or non-rectangular 2D-table.
getArray(String, String, String) - Static method in class de.mgmechanics.myflipflops.File.SimplestCsv
Takes a table as CSV encoded string and returns the fields as rectangular or non-rectangular 2D-table.
getArray(ArrayList<String>) - Static method in class de.mgmechanics.myflipflops.File.SimplestCsv
Takes a table as list of strings each split by delimiters and returns the fields as rectangular or non-rectangular 2D-table.
getArray(ArrayList<String>, String) - Static method in class de.mgmechanics.myflipflops.File.SimplestCsv
Takes a table as list of strings each split by delimiters and returns the fields as rectangular or non-rectangular 2D-table.
getCRC32Value(File) - Static method in class de.mgmechanics.myflipflops.File.Checksum
Calculate CRC32 checksum for a given file.
getCsv(String[][]) - Static method in class de.mgmechanics.myflipflops.File.SimplestCsv
Uses field delimiter from argument.
Record delimiter is the same line separator as used by operation system.
Field delimiter is tab (ASCII 09 = horizontal tab).
Please read the class description!
getCsv(String[][], String) - Static method in class de.mgmechanics.myflipflops.File.SimplestCsv
Uses field delimiter from argument.
Record delimiter is the same line separator as used by operation system.
Please read the class description!
getCsv(String[][], String, String) - Static method in class de.mgmechanics.myflipflops.File.SimplestCsv
Uses field delimiter and record delimiter from arguments.
Please read the class description!
getFileWithoutExtension() - Method in class de.mgmechanics.myflipflops.io.File
Returns the file name without file name extension and without extension separator i.e.
getNameExtension() - Method in class de.mgmechanics.myflipflops.io.File
Returns the file name extension from file name without extension separator i.e.
getResourceStream(String, String) - Static method in class de.mgmechanics.myflipflops.File.Textfile
Get a resource (in particular a file packed into the jar file) and return the content as InputStream.
getString(String) - Method in class de.mgmechanics.myflipflops.File.TextResource
Returns the text available for given resource (represented by its key).
getTextResource(String, String, Locale) - Static method in class de.mgmechanics.myflipflops.File.TextResource
Factory method
getTimestampSimple(boolean) - Static method in class de.mgmechanics.myflipflops.File.Textfile
Get a simple timestamp with or without time.
It uses a Gregorian Calendar the current time in the default time zone with the default locale see java.util.GregorianCalendar constructor GregorianCalendar().

M

Mathematics - Class in de.mgmechanics.myflipflops.calc
Various methods for mathematics

N

NegativeDefaultButtonJOptionPane - Class in de.mgmechanics.myflipflops.swing
provides a JOptionPane with "No" / "Cancel" buttons focused by default
this causes pushing the "No" / "Cancel" button when user hit "sapce" - or Enter key when the message pops up
NegativeDefaultButtonJOptionPane() - Constructor for class de.mgmechanics.myflipflops.swing.NegativeDefaultButtonJOptionPane
 

P

ParseString - Class in de.mgmechanics.myflipflops.File
Various functions to parse strings into various values

R

round(float, int) - Static method in class de.mgmechanics.myflipflops.calc.Mathematics
Round a float number.

S

showConfirmDialog(Component, Object, String, int) - Static method in class de.mgmechanics.myflipflops.swing.NegativeDefaultButtonJOptionPane
 
SimplestCsv - Class in de.mgmechanics.myflipflops.File
The simplest text-to-csv (= char separated value) converter.
Since it can not deal with separation char inside a cell make sure that this is not happen!
stream2String(InputStream) - Static method in class de.mgmechanics.myflipflops.File.Textfile
Reads an InputStream and returns a string.
string2File(File, String, String) - Static method in class de.mgmechanics.myflipflops.File.Textfile
Stores a string to a text file.
string2File(File, String) - Static method in class de.mgmechanics.myflipflops.File.Textfile
Same as string2File(File file, String str, String charset) but uses always UTF-8 as character set.
string2percent(String, String, int) - Static method in class de.mgmechanics.myflipflops.File.ParseString
Converts an String into a rounded percent value.
It tries to parse the String as percent value first.

T

Textfile - Class in de.mgmechanics.myflipflops.File
Text files often contains line feeds.
TextResource - Class in de.mgmechanics.myflipflops.File
This class contains tools to use for a alternative to java.util.ResourceBundle.
C D E F G M N P R S T 

Copyright © 2013. All Rights Reserved.