Class InspectIndex

java.lang.Object
de.oktoflow.platform.cmdTools.InspectIndex

public class InspectIndex extends Object
Inspects class loader indexes.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • InspectIndex

      public InspectIndex()
  • Method Details

    • sort

      private static List<String> sort(Iterable<String> iterable)
      Sorts the contents of an iterable.
      Parameters:
      iterable - the iterable
      Returns:
      the sorted contents
    • main

      public static void main(String[] args)
      Lists the contents of all indexes in the given directory or the index in the given file.
      Parameters:
      args - the first argument indicates the file/directory
    • toString

      private static String toString(String[] locations)
      Turns multiple locations to a string output.
      Parameters:
      locations - the location(s), may be null
      Returns:
      the output