public static void main(String[] args) throws IOException {
String fileName = "http://(サーバIP)/kcs/sound/kc(shipID)/(fileNum).mp3";
URL url = new URL(fileName);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("GET");
コードを見る