Class LarvaUtil

java.lang.Object
org.frankframework.larva.LarvaUtil

public class LarvaUtil extends Object
  • Method Details

    • getAbsolutePath

      public static String getAbsolutePath(String parent, String child)
    • getAbsolutePath

      public static String getAbsolutePath(String parent, String child, boolean addFileSeparator)
      Returns the absolute pathname for the child pathname. The parent pathname is used as a prefix when the child pathname is an not absolute.
      Parameters:
      parent - the parent pathname to use
      child - the child pathname to convert to a absolute pathname
    • formatDuration

      public static String formatDuration(long durationInMs)
    • getParentOfWebappRoot

      @Nullable public static String getParentOfWebappRoot()
    • readProperties

      @Nonnull protected static Properties readProperties(LarvaWriter out, File propertyFile)
    • readFile

      public static Message readFile(@Nonnull String fileName) throws IOException
      Throws:
      IOException