Class Utils
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.publication.Utils
-
public class Utils extends java.lang.Object
Utility class for some static functions for handling and convertingString
s and so on.
-
-
Field Summary
Fields Modifier and Type Field Description static int
NumberOfDirectories
static int
NumberOfFiles
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
Modifier and Type Method Description static void
add(java.awt.Container container, java.awt.GridBagLayout gridBagLayout, java.awt.Component c, int gridx, int gridy)
static void
add(java.awt.Container container, java.awt.GridBagLayout gridBagLayout, java.awt.Component c, int gridx, int gridy, int ipadx, int ipady)
static void
add(java.awt.Container cont, java.awt.GridBagLayout gbl, java.awt.Component c, int x, int y, int width, int height, double weightx, double weighty, int ipadx, int ipady)
static void
addComponent(java.awt.Container cont, java.awt.GridBagLayout gbl, java.awt.Component c, int x, int y, int width, int height, double weightx, double weighty, int ipadx, int ipady, java.awt.Insets insets)
static boolean
checkIfStringIsEmpty(java.lang.String string)
static int
countFilesAndDirectoriesInEdalDirectory(ClientPrimaryDataEntity srcDir)
static int
countObjects(java.awt.Frame parent, java.nio.file.Path srcDir)
static int
countObjectsWithErrorsAndWarnings(java.awt.Frame parent, java.nio.file.Path srcDir)
-
-
-
Method Detail
-
checkIfStringIsEmpty
public static boolean checkIfStringIsEmpty(java.lang.String string)
-
countObjects
public static int countObjects(java.awt.Frame parent, java.nio.file.Path srcDir)
-
countObjectsWithErrorsAndWarnings
public static int countObjectsWithErrorsAndWarnings(java.awt.Frame parent, java.nio.file.Path srcDir)
-
countFilesAndDirectoriesInEdalDirectory
public static int countFilesAndDirectoriesInEdalDirectory(ClientPrimaryDataEntity srcDir) throws java.rmi.RemoteException, PrimaryDataDirectoryException
- Throws:
java.rmi.RemoteException
PrimaryDataDirectoryException
-
addComponent
public static void addComponent(java.awt.Container cont, java.awt.GridBagLayout gbl, java.awt.Component c, int x, int y, int width, int height, double weightx, double weighty, int ipadx, int ipady, java.awt.Insets insets)
-
add
public static void add(java.awt.Container container, java.awt.GridBagLayout gridBagLayout, java.awt.Component c, int gridx, int gridy)
-
add
public static void add(java.awt.Container cont, java.awt.GridBagLayout gbl, java.awt.Component c, int x, int y, int width, int height, double weightx, double weighty, int ipadx, int ipady)
-
add
public static void add(java.awt.Container container, java.awt.GridBagLayout gridBagLayout, java.awt.Component c, int gridx, int gridy, int ipadx, int ipady)
-
-