java.lang.Object
org.cryptomator.frontend.dokany.internal.DokanyUtils

public class DokanyUtils extends Object
Utilities to do various operations.
  • Method Details

    • trimStrToSize

      public static String trimStrToSize(String str, int len)
    • getTime

      public static com.sun.jna.platform.win32.WinBase.FILETIME getTime(Date date)
    • getTime

      public static com.sun.jna.platform.win32.WinBase.FILETIME getTime(long time)
    • getCurrentTime

      public static com.sun.jna.platform.win32.WinBase.FILETIME getCurrentTime()
    • enumSetFromInt

      public static <T extends Enum<T> & EnumInteger> EnumIntegerSet<T> enumSetFromInt(int value, T[] allEnumValues)
      Will return an TODO: can be refactored to the EnumIntegerSet Class
      Parameters:
      value -
      allEnumValues -
      Returns:
    • enumFromInt

      public static <T extends EnumInteger> T enumFromInt(int value, T[] enumValues)
      TODO: can be refactored to the EnumIntegerSet Class
      Type Parameters:
      T -
      Parameters:
      value -
      enumValues -
      Returns: