@@ -337,33 +337,6 @@ public final void addDirectory(final File directory){
337337 addDirectory ("" ,directory ,directory .getName (),ByteLoadingOption .LIVELOAD ,false );
338338 }
339339
340- /**
341- * Adds a directory to the handler and preloads the files' bytes.
342- *
343- * @deprecated use {@link #addDirectory(File, ByteLoadingOption)}
344- * @param directory directory to add
345- * @param preload whether to read the bytes now or at the exchange
346- *
347- * @see FileHandlerAdapter
348- * @see #addDirectory(File)
349-
350- * @see #addDirectory(File, String)
351- * @see #addDirectory(File, String, boolean)
352-
353- * @see #addDirectory(String, File)
354- * @see #addDirectory(String, File, boolean)
355-
356- * @see #addDirectory(String, File, String)
357- * @see #addDirectory(String, File, String, boolean)
358-
359- * @since 02.00.00
360- * @author Ktt Development
361- */
362- @ Deprecated
363- public final void addDirectory (final File directory , final boolean preload ){ // todo: after depreciation replace with walk param
364- addDirectory ("" ,directory ,directory .getName (),preload ? ByteLoadingOption .PRELOAD : ByteLoadingOption .LIVELOAD ,false );
365- }
366-
367340 /**
368341 * Adds a directory to the handler.
369342 *
@@ -439,34 +412,6 @@ public final void addDirectory(final File directory, final String directoryName)
439412 addDirectory ("" ,directory ,directoryName ,ByteLoadingOption .LIVELOAD ,false );
440413 }
441414
442- /**
443- * Adds a directory with a specified name to the handler and preloads the bytes.
444- *
445- * @deprecated use {@link #addDirectory(File, String, ByteLoadingOption)}
446- * @param directory directory to add
447- * @param directoryName directory name
448- * @param preload whether to read the bytes now or at the exchange
449- *
450- * @see FileHandlerAdapter
451- * @see #addDirectory(File)
452- * @see #addDirectory(File, boolean)
453-
454- * @see #addDirectory(File, String)
455-
456- * @see #addDirectory(String, File)
457- * @see #addDirectory(String, File, boolean)
458-
459- * @see #addDirectory(String, File, String)
460- * @see #addDirectory(String, File, String, boolean)
461-
462- * @since 02.00.00
463- * @author Ktt Development
464- */
465- @ Deprecated // todo: convert to boolean to walk after depreciation
466- public final void addDirectory (final File directory , final String directoryName , final boolean preload ){ // todo: after depreciation replace with walk param
467- addDirectory ("" ,directory ,directoryName ,preload ? ByteLoadingOption .PRELOAD : ByteLoadingOption .LIVELOAD ,false );
468- }
469-
470415 /**
471416 * Adds a directory to the handler with a specified name.
472417 *
@@ -544,34 +489,6 @@ public final void addDirectory(final String context, final File directory){
544489 addDirectory (context ,directory ,directory .getName (),ByteLoadingOption .LIVELOAD ,false );
545490 }
546491
547- /**
548- * Adds a directory at a specified context to the handler and preloads the bytes.
549- *
550- * @deprecated use {@link #addDirectory(String, File, ByteLoadingOption)}
551- * @param context context to use
552- * @param directory directory to add
553- * @param preload whether to read the bytes now or at the exchange
554- *
555- * @see FileHandlerAdapter
556- * @see #addDirectory(File)
557- * @see #addDirectory(File, boolean)
558-
559- * @see #addDirectory(File, String)
560- * @see #addDirectory(File, String, boolean)
561-
562- * @see #addDirectory(String, File)
563-
564- * @see #addDirectory(String, File, String)
565- * @see #addDirectory(String, File, String, boolean)
566-
567- * @since 02.00.00
568- * @author Ktt Development
569- */
570- @ Deprecated // todo: after depreciation convert boolean to walk
571- public final void addDirectory (final String context , final File directory , final boolean preload ){ // todo: after depreciation replace with walk param
572- addDirectory (context ,directory ,directory .getName (),preload ? ByteLoadingOption .PRELOAD : ByteLoadingOption .LIVELOAD ,false );
573- }
574-
575492 /**
576493 * Adds a directory to the handler at a specified context.
577494 *
@@ -650,35 +567,6 @@ public final void addDirectory(final String context, final File directory, final
650567 addDirectory (context ,directory ,directoryName ,ByteLoadingOption .LIVELOAD ,false );
651568 }
652569
653- /**
654- * Adds a directory at a specified context with a specified name and preloads the bytes.
655- *
656- * @deprecated use {@link #addDirectory(String, File, String, ByteLoadingOption)}
657- * @param context context to use
658- * @param directory directory to add
659- * @param directoryName directory name
660- * @param preload whether to read the bytes now or at the exchange
661- *
662- * @see FileHandlerAdapter
663- * @see #addDirectory(File)
664- * @see #addDirectory(File, boolean)
665-
666- * @see #addDirectory(File, String)
667- * @see #addDirectory(File, String, boolean)
668-
669- * @see #addDirectory(String, File)
670- * @see #addDirectory(String, File, boolean)
671-
672- * @see #addDirectory(String, File, String)
673-
674- * @since 02.00.00
675- * @author Ktt Development
676- */
677- @ Deprecated // todo: after depreciation convert boolean to walk
678- public final void addDirectory (final String context , final File directory , final String directoryName , final boolean preload ){ // todo: after depreciation replace with walk param
679- addDirectory (context ,directory ,directoryName ,preload ? ByteLoadingOption .PRELOAD : ByteLoadingOption .LIVELOAD ,false );
680- }
681-
682570 /**
683571 * Adds a directory to the handler at a specified context with a specified name.
684572 *
0 commit comments