diff options
author | Matt Kohls <mattkohls13@gmail.com> | 2018-10-16 18:07:49 -0400 |
---|---|---|
committer | Matt Kohls <mattkohls13@gmail.com> | 2018-10-16 18:07:49 -0400 |
commit | 2375afc8d0db70f829288586f5076e7da8684a87 (patch) | |
tree | 10858b9256a90c4ce644f203cd4f6387309773fa | |
parent | 266c900d573cc4b70683e290404af663eb3f66d0 (diff) | |
download | SoundChan-2375afc8d0db70f829288586f5076e7da8684a87.tar.gz SoundChan-2375afc8d0db70f829288586f5076e7da8684a87.tar.bz2 SoundChan-2375afc8d0db70f829288586f5076e7da8684a87.zip |
Adding comment about what PopulateFiles() does now
-rw-r--r-- | src/main/java/soundchan/LocalAudioManager.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/soundchan/LocalAudioManager.java b/src/main/java/soundchan/LocalAudioManager.java index 306b8dd..036b38d 100644 --- a/src/main/java/soundchan/LocalAudioManager.java +++ b/src/main/java/soundchan/LocalAudioManager.java @@ -92,6 +92,10 @@ public class LocalAudioManager { filenameDict = PopulateFiles(); } + /** + * Creates a map of the sounds in the sound directory + * @return A map with the filename (without extension) is the key for the filename (with extension) + */ private Map<String, String> PopulateFiles(){ File folder = new File(filepath); File[] listOfFiles = folder.listFiles(); |