Interface Favicon
public interface Favicon
Represents an icon for the server sent in the 
StatusResponse.- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionimage()Gets the decoded image of this favicon.static Faviconload(BufferedImage image) Loads a favicon from a specifiedBufferedImage.static Faviconload(InputStream in) Loads a favicon from a specifiedInputStream.static FaviconLoads aFaviconfrom the specified encoded string.static FaviconLoads a favicon from a specifiedURL.static FaviconLoads a favicon from a specifiedPath.
- 
Method Details- 
loadLoads aFaviconfrom the specified encoded string. The format of the input depends on the implementation.- Parameters:
- raw- The encoded favicon
- Returns:
- The loaded favicon
- Throws:
- IOException- If the favicon couldn't be loaded
 
- 
loadLoads a favicon from a specifiedPath.- Parameters:
- path- The path to the favicon
- Returns:
- The loaded favicon from the file
- Throws:
- IOException- If the favicon couldn't be loaded
- FileNotFoundException- If the file doesn't exist
 
- 
loadLoads a favicon from a specifiedURL.- Parameters:
- url- The favicon URL
- Returns:
- The loaded favicon from the URL
- Throws:
- IOException- If the favicon couldn't be loaded
 
- 
loadLoads a favicon from a specifiedInputStream.- Parameters:
- in- The favicon input stream
- Returns:
- The loaded favicon from the input stream
- Throws:
- IOException- If the favicon couldn't be loaded
 
- 
loadLoads a favicon from a specifiedBufferedImage.- Parameters:
- image- The favicon image
- Returns:
- The loaded favicon from the image
- Throws:
- IOException- If the favicon couldn't be loaded
 
- 
imageBufferedImage image()Gets the decoded image of this favicon.- Returns:
- The decoded image
 
 
-