@@ -252,12 +252,12 @@ public String Code(Object code)
252252 *
253253 * @since 1.3.2
254254 *
255- * @see Serializer#Stringify (Object...)
255+ * @see Serializer#stringify (Object...)
256256 */
257257 public String toString (boolean serialize ) throws IOException
258258 {
259259 if (serialize )
260- return Stringify ();
260+ return stringify ();
261261 return super .toString ();
262262 }
263263
@@ -271,9 +271,9 @@ public String toString(boolean serialize) throws IOException
271271 *
272272 * @since 1.1.5
273273 */
274- public void SerializeTo (File f , Object ... args ) throws IOException
274+ public void serializeTo (File f , Object ... args ) throws IOException
275275 {
276- SerializeTo (false , f , args );
276+ serializeTo (false , f , args );
277277 }
278278
279279 /**
@@ -287,18 +287,18 @@ public void SerializeTo(File f, Object... args) throws IOException
287287 *
288288 * @since 1.1.5
289289 *
290- * @see Serializer#SerializeTo (Appendable, Object...)
290+ * @see Serializer#serializeTo (Appendable, Object...)
291291 */
292- public void SerializeTo (boolean append , File f , Object ... args ) throws IOException
292+ public void serializeTo (boolean append , File f , Object ... args ) throws IOException
293293 {
294294 //double t0 = System.nanoTime();
295295 Writer writer = new BufferedWriter (new FileWriter (f , append ));
296296
297- writer .write (Stringify (args ));
297+ writer .write (stringify (args ));
298298
299299 writer .close ();
300300
301- // String serialized = Stringify (args);
301+ // String serialized = stringify (args);
302302//
303303// RandomAccessFile fileOutputStream = new RandomAccessFile(f, "rw");
304304// FileChannel channel = fileOutputStream.getChannel();
@@ -320,11 +320,11 @@ public void SerializeTo(boolean append, File f, Object... args) throws IOExcepti
320320 *
321321 * @since 1.0.0
322322 *
323- * @see Serializer#SerializeTo (Appendable, Object...)
323+ * @see Serializer#serializeTo (Appendable, Object...)
324324 */
325- public String Stringify (Object ... args ) throws IOException
325+ public String stringify (Object ... args ) throws IOException
326326 {
327- return SerializeTo (new StringBuilder (), args ).toString ();
327+ return serializeTo (new StringBuilder (), args ).toString ();
328328 }
329329
330330 /**
@@ -335,11 +335,11 @@ public String Stringify(Object... args) throws IOException
335335 *
336336 * @since 1.3.2
337337 *
338- * @see Serializer#SerializeTo (Appendable, Object...)
338+ * @see Serializer#serializeTo (Appendable, Object...)
339339 */
340- public OutputStream SerializeTo (OutputStream outputStream , Object ... args ) throws IOException
340+ public OutputStream serializeTo (OutputStream outputStream , Object ... args ) throws IOException
341341 {
342- SerializeTo (new OutputStreamWriter (outputStream ), args );
342+ serializeTo (new OutputStreamWriter (outputStream ), args );
343343 return outputStream ;
344344 }
345345
@@ -351,7 +351,7 @@ public OutputStream SerializeTo(OutputStream outputStream, Object... args) throw
351351 *
352352 * @since 1.3.2
353353 */
354- public abstract <A extends Appendable > A SerializeTo (A source , Object ... args ) throws IOException ;
354+ public abstract <A extends Appendable > A serializeTo (A source , Object ... args ) throws IOException ;
355355
356356 /**
357357 * @param file | Text file with serialized objects in specific format to load.
@@ -364,11 +364,11 @@ public OutputStream SerializeTo(OutputStream outputStream, Object... args) throw
364364 *
365365 * @since 1.0.0
366366 *
367- * @see Serializer#LoadFrom (Reader, Object...)
367+ * @see Serializer#loadFrom (Reader, Object...)
368368 */
369- public <S extends Scope > S LoadFrom (File file , Object ... parserArgs ) throws IOException
369+ public <S extends Scope > S loadFrom (File file , Object ... parserArgs ) throws IOException
370370 {
371- return LoadFrom (new FileReader (file ), parserArgs );
371+ return loadFrom (new FileReader (file ), parserArgs );
372372 }
373373
374374 /**
@@ -382,11 +382,11 @@ public <S extends Scope> S LoadFrom(File file, Object... parserArgs) throws IOEx
382382 *
383383 * @since 1.2.5
384384 *
385- * @see Serializer#LoadFrom (Reader, Object...)
385+ * @see Serializer#loadFrom (Reader, Object...)
386386 */
387- public <S extends Scope > S LoadFrom (CharSequence str , Object ... parserArgs ) throws IOException
387+ public <S extends Scope > S loadFrom (CharSequence str , Object ... parserArgs ) throws IOException
388388 {
389- return LoadFrom (new StringReader (str .toString ()), parserArgs );
389+ return loadFrom (new StringReader (str .toString ()), parserArgs );
390390 }
391391
392392 /**
@@ -400,11 +400,11 @@ public <S extends Scope> S LoadFrom(CharSequence str, Object... parserArgs) thro
400400 *
401401 * @since 1.3.2
402402 *
403- * @see Serializer#LoadFrom (Reader, Object...)
403+ * @see Serializer#loadFrom (Reader, Object...)
404404 */
405- public <S extends Scope > S LoadFrom (InputStream stream , Object ... parserArgs ) throws IOException
405+ public <S extends Scope > S loadFrom (InputStream stream , Object ... parserArgs ) throws IOException
406406 {
407- return LoadFrom (new InputStreamReader (stream ), parserArgs );
407+ return loadFrom (new InputStreamReader (stream ), parserArgs );
408408 }
409409
410410 /**
@@ -416,9 +416,9 @@ public <S extends Scope> S LoadFrom(InputStream stream, Object... parserArgs) th
416416 *
417417 * @since 1.2.5
418418 */
419- public <S extends Scope > S LoadFrom (Reader reader ) throws IOException
419+ public <S extends Scope > S loadFrom (Reader reader ) throws IOException
420420 {
421- return LoadFrom (reader , true );
421+ return loadFrom (reader , true );
422422 }
423423
424424 /**
@@ -431,7 +431,7 @@ public <S extends Scope> S LoadFrom(Reader reader) throws IOException
431431 *
432432 * @since 1.3.2
433433 */
434- public abstract <S extends Scope > S LoadFrom (Reader reader , Object ... parserArgs ) throws IOException ;
434+ public abstract <S extends Scope > S loadFrom (Reader reader , Object ... parserArgs ) throws IOException ;
435435
436436 /**
437437 * @return Clone of this {@link Serializer} without variables and values, protocols and parser will remain same!
@@ -613,9 +613,9 @@ public Object apply(Object t)
613613 *
614614 * @since 1.3.5
615615 */
616- public <A extends Appendable > A SerializeAsSubscope (A source , Object ... args ) throws IOException
616+ public <A extends Appendable > A serializeAsSubscope (A source , Object ... args ) throws IOException
617617 {
618- return SerializeAsSubscope (source , new char [] {'{' , '}' }, args );
618+ return serializeAsSubscope (source , new char [] {'{' , '}' }, args );
619619 }
620620
621621 /**
@@ -628,7 +628,7 @@ public <A extends Appendable> A SerializeAsSubscope(A source, Object... args) th
628628 * @since 1.3.5
629629 */
630630 @ SuppressWarnings ("unchecked" )
631- public <A extends Appendable > A SerializeAsSubscope (A source , final char [] wrappingBrackets , Object ... args ) throws IOException
631+ public <A extends Appendable > A serializeAsSubscope (A source , final char [] wrappingBrackets , Object ... args ) throws IOException
632632 {
633633 source .append (wrappingBrackets [0 ]);
634634 if (isEmpty ())
@@ -638,7 +638,7 @@ public <A extends Appendable> A SerializeAsSubscope(A source, final char[] wrapp
638638 {
639639 if (args .length > 1 && args [1 ] instanceof Integer )
640640 args [1 ] = ((int ) args [1 ]) + 1 ;
641- return (A ) SerializeTo (source , args ).append (wrappingBrackets [1 ]);
641+ return (A ) serializeTo (source , args ).append (wrappingBrackets [1 ]);
642642 }
643643
644644 int tabs ;
@@ -647,7 +647,7 @@ public <A extends Appendable> A SerializeAsSubscope(A source, final char[] wrapp
647647 else
648648 tabs = 0 ;
649649
650- return (A ) SerializeTo (source .append ('\n' ), args ).append ('\n' ).append (multilpy ('\t' , tabs ))
650+ return (A ) serializeTo (source .append ('\n' ), args ).append ('\n' ).append (multilpy ('\t' , tabs ))
651651 .append (wrappingBrackets [1 ]);
652652 }
653653
@@ -681,7 +681,7 @@ public <T> T getParsed(String variableWithStringValue, Object... args)
681681
682682 /**
683683 * @return Non 0 value if proper indentation and newline characters should be used when serializing. Default is 0, no formating...
684- * The exact behavior of other values will depend on the specific implementation of {@link Serializer#SerializeTo (Appendable, Object...)}
684+ * The exact behavior of other values will depend on the specific implementation of {@link Serializer#serializeTo (Appendable, Object...)}
685685 *
686686 * @since 1.3.9
687687 */
@@ -692,7 +692,7 @@ public byte getFormat()
692692
693693 /**
694694 * @param format | A non 0 value if proper indentation and newline characters should be used when serializing.
695- * The exact behavior of other values will depend on the specific implementation of {@link Serializer#SerializeTo (Appendable, Object...)}
695+ * The exact behavior of other values will depend on the specific implementation of {@link Serializer#serializeTo (Appendable, Object...)}
696696 *
697697 * @since 1.3.9
698698 */
@@ -721,15 +721,15 @@ public void setFormat(byte format)
721721 </tr>
722722 <tr>
723723 <td>{@link File}</td>
724- <td>{@link Serializer#SerializeTo (File)}</td>
724+ <td>{@link Serializer#serializeTo (File)}</td>
725725 </tr>
726726 <tr>
727727 <td>{@link Appendable}</td>
728- <td>{@link Serializer#SerializeTo (Appendable, Object...)}</td>
728+ <td>{@link Serializer#serializeTo (Appendable, Object...)}</td>
729729 </tr>
730730 <tr>
731731 <td>{@link OutputStream}</td>
732- <td>{@link Serializer#SerializeTo (OutputStream, Object...)}</td>
732+ <td>{@link Serializer#serializeTo (OutputStream, Object...)}</td>
733733 </tr>
734734 <tr>
735735 <td>{@link URL}</td>
@@ -759,19 +759,19 @@ public static <T> T into(Object obj, Serializer fromSerializer, String... fieldN
759759 {
760760 if (obj instanceof File )
761761 {
762- fromSerializer .SerializeTo ((File ) obj );
762+ fromSerializer .serializeTo ((File ) obj );
763763 return (T ) obj ;
764764 }
765765
766766 if (obj instanceof Appendable )
767767 {
768- fromSerializer .SerializeTo ((Appendable ) obj );
768+ fromSerializer .serializeTo ((Appendable ) obj );
769769 return (T ) obj ;
770770 }
771771
772772 if (obj instanceof OutputStream )
773773 {
774- fromSerializer .SerializeTo ((OutputStream ) obj );
774+ fromSerializer .serializeTo ((OutputStream ) obj );
775775 return (T ) obj ;
776776 }
777777
@@ -782,7 +782,7 @@ public static <T> T into(Object obj, Serializer fromSerializer, String... fieldN
782782 if (con instanceof HttpURLConnection )
783783 post (fromSerializer , (HttpURLConnection ) con );
784784 else
785- fromSerializer .SerializeTo (con .getOutputStream ());
785+ fromSerializer .serializeTo (con .getOutputStream ());
786786 return (T ) con ;
787787 }
788788
@@ -791,7 +791,7 @@ public static <T> T into(Object obj, Serializer fromSerializer, String... fieldN
791791 if (obj instanceof HttpURLConnection )
792792 post (fromSerializer , (HttpURLConnection ) obj );
793793 else
794- fromSerializer .SerializeTo (((URLConnection ) obj ).getOutputStream ());
794+ fromSerializer .serializeTo (((URLConnection ) obj ).getOutputStream ());
795795 return (T ) obj ;
796796 }
797797
@@ -806,14 +806,14 @@ public static <T> T into(Object obj, Serializer fromSerializer, String... fieldN
806806 if (con instanceof HttpURLConnection )
807807 post (fromSerializer , (HttpURLConnection ) con );
808808 else
809- fromSerializer .SerializeTo (con .getOutputStream ());
809+ fromSerializer .serializeTo (con .getOutputStream ());
810810 return (T ) con ;
811811 }
812812
813813 try
814814 {
815815 File file = new File (obj .toString ());
816- fromSerializer .SerializeTo (file );
816+ fromSerializer .serializeTo (file );
817817 return (T ) file ;
818818 }
819819 catch (Exception e )
@@ -846,23 +846,23 @@ <th>Obtained serializer content (return)</th>
846846 </tr>
847847 <tr>
848848 <td>{@link CharSequence}</td>
849- <td>{@link Serializer#LoadFrom (CharSequence, Object...)}</td>
849+ <td>{@link Serializer#loadFrom (CharSequence, Object...)}</td>
850850 </tr>
851851 <tr>
852852 <td>{@link CharSequence} (as http address)</td>
853853 <td>Serializer (newInstance) will open connection with url and get + deserialize the content from it if possible!</td>
854854 </tr>
855855 <tr>
856856 <td>{@link File}</td>
857- <td>{@link Serializer#LoadFrom (File, Object...)}</td>
857+ <td>{@link Serializer#loadFrom (File, Object...)}</td>
858858 </tr>
859859 <tr>
860860 <td>{@link Reader}</td>
861- <td>{@link Serializer#LoadFrom (Reader)}</td>
861+ <td>{@link Serializer#loadFrom (Reader)}</td>
862862 </tr>
863863 <tr>
864864 <td>{@link InputStream}</td>
865- <td>{@link Serializer#LoadFrom (InputStream, Object...)}</td>
865+ <td>{@link Serializer#loadFrom (InputStream, Object...)}</td>
866866 </tr>
867867 <tr>
868868 <td>{@link URL}</td>
@@ -892,28 +892,28 @@ public static Serializer from(Serializer newInstance, Object fromObj, String...
892892 {
893893 String fromStr ;
894894 if (indexOfNotInObj (fromStr = fromObj .toString (), "http" ) == 0 )
895- return newInstance .LoadFrom (new URI (fromStr ).toURL ().openStream ());
896- return newInstance .LoadFrom (new File (fromStr ));
895+ return newInstance .loadFrom (new URI (fromStr ).toURL ().openStream ());
896+ return newInstance .loadFrom (new File (fromStr ));
897897 }
898898 catch (Exception e )
899899 {
900900 if (e instanceof RuntimeException )
901901 throw e ;
902902 }
903903
904- return newInstance .LoadFrom ((CharSequence ) fromObj );
904+ return newInstance .loadFrom ((CharSequence ) fromObj );
905905 }
906906
907907 if (fromObj instanceof File )
908- return newInstance .LoadFrom ((File ) fromObj );
908+ return newInstance .loadFrom ((File ) fromObj );
909909 if (fromObj instanceof Reader )
910- return newInstance .LoadFrom ((Reader ) fromObj );
910+ return newInstance .loadFrom ((Reader ) fromObj );
911911 if (fromObj instanceof InputStream )
912- return newInstance .LoadFrom ((InputStream ) fromObj );
912+ return newInstance .loadFrom ((InputStream ) fromObj );
913913 if (fromObj instanceof URL )
914- return newInstance .LoadFrom (((URL ) fromObj ).openStream ());
914+ return newInstance .loadFrom (((URL ) fromObj ).openStream ());
915915 if (fromObj instanceof URLConnection )
916- return newInstance .LoadFrom (((URLConnection ) fromObj ).getInputStream ());
916+ return newInstance .loadFrom (((URLConnection ) fromObj ).getInputStream ());
917917
918918 newInstance .addAll (Scope .from (fromObj , fieldNamesToUse ));
919919 return newInstance ;
0 commit comments