MediaFolder.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /**
  2. * Nextcloud Android client application
  3. *
  4. * @author Andy Scherzinger
  5. * Copyright (C) 2016 Andy Scherzinger
  6. * Copyright (C) 2016 Nextcloud
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
  10. * License as published by the Free Software Foundation; either
  11. * version 3 of the License, or any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
  17. *
  18. * You should have received a copy of the GNU Affero General Public
  19. * License along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. */
  21. package com.owncloud.android.datamodel;
  22. import java.util.ArrayList;
  23. import java.util.List;
  24. /**
  25. * Business object representing a media folder with all information that are gathered via media queries.
  26. */
  27. public class MediaFolder {
  28. /** name of the folder. */
  29. public String folderName;
  30. /** absolute path of the folder. */
  31. public String absolutePath;
  32. /** list of file paths of the folder's content */
  33. public List<String> filePaths = new ArrayList<>();
  34. /** total number of files in the media folder. */
  35. public long numberOfFiles;
  36. /** type of media folder. */
  37. public MediaFolderType type;
  38. }