Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public enum StorageDirectory {
- /**
- * Directory for saving photos / pictures of movies
- */
- IMAGE {
- @Override
- public String getGoogleDirectoryKey() {
- return "someKey1";
- }
- },
- /**
- * Directory for saving avatars of users
- */
- AVATAR {
- @Override
- public String getGoogleDirectoryKey() {
- return "someKey2";
- }
- };
- /**
- * Get the directory key from the Google cloud.
- *
- * @return The key of the directory in the Google cloud
- */
- public abstract String getGoogleDirectoryKey();
- }
Add Comment
Please, Sign In to add comment