public class SongProvider
extends java.lang.Object
implements com.sun.net.httpserver.HttpHandler
Modifier and Type | Field and Description |
---|---|
private java.util.logging.Logger |
log |
private static java.lang.String |
LOG_SEP |
private java.lang.String |
pathOffset |
Constructor and Description |
---|
SongProvider(CommonSOMViewerStateData state,
java.lang.String context) |
Modifier and Type | Method and Description |
---|---|
void |
handle(com.sun.net.httpserver.HttpExchange t) |
private void |
sendSong(com.sun.net.httpserver.HttpExchange t,
java.io.File song) |
private static final java.lang.String LOG_SEP
private java.util.logging.Logger log
private final java.lang.String pathOffset
public SongProvider(CommonSOMViewerStateData state, java.lang.String context)
private void sendSong(com.sun.net.httpserver.HttpExchange t, java.io.File song) throws java.io.IOException
java.io.IOException
public void handle(com.sun.net.httpserver.HttpExchange t) throws java.io.IOException
handle
in interface com.sun.net.httpserver.HttpHandler
java.io.IOException