Skip navigation links
B E F I L M N O S W 

B

breakWords(boolean) - Method in class org.davidmoten.text.utils.WordWrap.Builder
If a word is longer than maxWidth and breakWords is true then such a word will be broken across two or more lines (with or without a hyphen according to insertHyphens(boolean)).

E

excludeExtraWordChars(String) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Adds extra word characters to be excluded.
extraWordChars(Set<Character>) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Sets all extra word characters (characters that will be treated like normal alphabetic characters for defining word boundaries).
extraWordChars(String) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Sets all extra word characters (characters that will be treated like normal alphabetic characters for defining word boundaries).

F

from(Reader) - Static method in class org.davidmoten.text.utils.WordWrap
Sets the source to be wrapped and returns a builder to specify more parameters.
from(CharSequence) - Static method in class org.davidmoten.text.utils.WordWrap
Sets the the source to be wrapped and returns a builder to specify more parameters.
from(InputStream, Charset) - Static method in class org.davidmoten.text.utils.WordWrap
Sets the source to be wrapped and the character set to be used to read it.
from(File, Charset) - Static method in class org.davidmoten.text.utils.WordWrap
Sets the source to be wrapped and the character set to be used to read it.
fromClasspath(String, Charset) - Static method in class org.davidmoten.text.utils.WordWrap
Sets the source to be wrapped as a classpath resource to be read using the given character set.
fromClasspathUtf8(String) - Static method in class org.davidmoten.text.utils.WordWrap
Sets the source to be wrapped as a classpath resource which will be read using the UTF-8 character set.
fromUtf8(InputStream) - Static method in class org.davidmoten.text.utils.WordWrap
Sets the source to be wrapped.

I

includeExtraWordChars(String) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Adds more word characters (characters that will be treated like normal alphabetic characters for defining word boundaries).
insertHyphens(boolean) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Sets if to break words using a hyphen character.
IORuntimeException - Exception in org.davidmoten.text.utils
 
IORuntimeException(IOException) - Constructor for exception org.davidmoten.text.utils.IORuntimeException
 

L

LineConsumer - Interface in org.davidmoten.text.utils
 

M

maxWidth(Number) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Sets the maximum width of a line using the stringWidth function.

N

newLine(String) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Sets the newLine string to be used.

O

org.davidmoten.text.utils - package org.davidmoten.text.utils
 

S

SPECIAL_WORD_CHARS_SET_DEFAULT - Static variable in class org.davidmoten.text.utils.WordWrap
 
stringWidth(Function<? super CharSequence, ? extends Number>) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Sets the string width function used to determine if a line is at maximum width (and therefore needing wrapping or splitting).

W

WordWrap - Class in org.davidmoten.text.utils
 
WordWrap.Builder - Class in org.davidmoten.text.utils
Provides method chaining for specifying parameters to word wrap.
wrap(Writer) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Performs the wrapping of the source text and writes output to the given Writer.
wrap(LineConsumer) - Method in class org.davidmoten.text.utils.WordWrap.Builder
 
wrap(File, Charset) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Performs the wrapping of the source text and writes output to the given file with the given character set encoding.
wrap(String, Charset) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Performs the wrapping of the source text and writes the output to a file with the given filename using the given encoding.
wrap() - Method in class org.davidmoten.text.utils.WordWrap.Builder
Performs the wrapping of the source text and returns output as a String.
wrapToList() - Method in class org.davidmoten.text.utils.WordWrap.Builder
 
wrapUtf8(File) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Performs the wrapping of the source text and writes the output to the given file using UTF-8 encoding.
wrapUtf8(String) - Method in class org.davidmoten.text.utils.WordWrap.Builder
Performs the wrapping of the source text and writes the output to a file with the given filename.
write(char[], int, int) - Method in interface org.davidmoten.text.utils.LineConsumer
 
write(String) - Method in interface org.davidmoten.text.utils.LineConsumer
 
writeNewLine() - Method in interface org.davidmoten.text.utils.LineConsumer
 
B E F I L M N O S W 
Skip navigation links

Copyright © 2018–2024. All rights reserved.