getConnectionDetails() takes Connection rather than uri

This commit is contained in:
Andreas Schildbach 2012-06-13 17:47:03 +02:00
parent 18d42d7ae8
commit 6b92277180
4 changed files with 12 additions and 8 deletions

View file

@ -20,6 +20,7 @@ package de.schildbach.pte;
import java.io.IOException;
import java.nio.charset.Charset;
import de.schildbach.pte.dto.Connection;
import de.schildbach.pte.dto.GetConnectionDetailsResult;
import de.schildbach.pte.dto.Point;
import de.schildbach.pte.dto.Style;
@ -44,7 +45,7 @@ public abstract class AbstractNetworkProvider implements NetworkProvider
return null;
}
public GetConnectionDetailsResult getConnectionDetails(final String connectionUri) throws IOException
public GetConnectionDetailsResult getConnectionDetails(final Connection connection) throws IOException
{
throw new UnsupportedOperationException();
}