From d0221587e9d332c522f7ac429781d4ccaa7f5ce9 Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Tue, 5 Apr 2022 18:06:43 +0200 Subject: sync bastp to upstream/ vanilla-music --- .../github/daneren2005/dsub/util/tags/RawFile.java | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 app/src/main/java/github/daneren2005/dsub/util/tags/RawFile.java (limited to 'app/src/main/java/github/daneren2005/dsub/util/tags/RawFile.java') diff --git a/app/src/main/java/github/daneren2005/dsub/util/tags/RawFile.java b/app/src/main/java/github/daneren2005/dsub/util/tags/RawFile.java new file mode 100644 index 00000000..2fa6cf30 --- /dev/null +++ b/app/src/main/java/github/daneren2005/dsub/util/tags/RawFile.java @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2017 Google Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package github.daneren2005.dsub.util.tags; + +import java.io.IOException; +import java.io.RandomAccessFile; +import java.util.HashMap; + +public class RawFile extends Common { + + /** + * Returns the tags of a Raw File which is just an empty HashMap. + * This shall be used for raw streams with no (supported) tags. + */ + public HashMap getTags(RandomAccessFile s) throws IOException { + HashMap tags = new HashMap(); + return tags; + } +} + -- cgit v1.2.3