Module inet.ipaddr
Package inet.ipaddr.format.util
Interface IPAddressStringWriter<T extends IPAddressStringDivisionSeries>
- All Superinterfaces:
AddressDivisionWriter
public interface IPAddressStringWriter<T extends IPAddressStringDivisionSeries>
extends AddressDivisionWriter
An object for writing an IP address part string in a specific format.
- Author:
- sfoley
-
Method Summary
Modifier and TypeMethodDescriptionchar
int
getTrailingSeparatorCount
(T addr) toString
(T addr, CharSequence zone) Methods inherited from interface inet.ipaddr.format.util.AddressDivisionWriter
appendDivision, getDivisionStringLength
-
Method Details
-
getTrailingSeparatorCount
- Parameters:
addr
-- Returns:
- the number of segment separators in the string produced by these params
-
getTrailingSegmentSeparator
char getTrailingSegmentSeparator() -
toString
- Parameters:
addr
-- Returns:
- the string produced by these params
-
toString
- Parameters:
addr
-- Returns:
- the string produced by these params
-