Class ImpExUtils


  • public final class ImpExUtils
    extends java.lang.Object
    Utility class of the ImpEx extension. Here you can find different methods for processing an import or export of items to CSV-files or vice verse.
    • Method Detail

      • isRelaxedMode

        public static boolean isRelaxedMode​(EnumerationValue mode)
      • convertTime

        @Deprecated(since="ages",
                    forRemoval=false)
        public static java.lang.String convertTime​(long time)
        Deprecated.
        since ages - useUtilities.formatTime(long) instead Converts given milli seconds to an readable string representation.
        Parameters:
        time - time in milli seconds
        Returns:
        string representation of time
      • mergeHeaderAndItemList

        @Deprecated(since="ages",
                    forRemoval=false)
        public static java.lang.StringBuffer mergeHeaderAndItemList​(HeaderLibrary template,
                                                                    java.util.Collection<Item> itemlist)
                                                             throws java.io.IOException
        Deprecated.
        since ages - Use de.hybris.platform.impex.jalo.exp.ExportUtils#mergeHeaderAndItemList(HeaderLibrary,Collection) instead
        Throws:
        java.io.IOException
      • getContent

        public static java.lang.StringBuilder getContent​(Media m)
      • closeQuietly

        public static void closeQuietly​(ImpExReader ir)
      • getDefaultQueryChunkSize

        public static int getDefaultQueryChunkSize()