mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-08 11:47:36 +00:00
フォーマット
This commit is contained in:
1 parent
63009b1a9a
commit
84b9de17cf
1 file changed
+2
+2
@@ -8,6 +8,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import one.nem.lacerta.model.document.DocumentMeta;
|
||||
|
||||
//フォルダ管理機能
|
||||
public class LibraryFolderFragment extends Fragment {
|
||||
|
||||
@@ -25,6 +26,7 @@ public class LibraryFolderFragment extends Fragment{
|
||||
List<DocumentMeta> documents = folderMap.get(folderName);
|
||||
documents.add(documentMeta);
|
||||
}
|
||||
|
||||
//フォルダに関連するドキュメントを取得するためのメソッド
|
||||
public List<DocumentMeta> getDocumentsInFolder(String folderName) {
|
||||
return folderMap.getOrDefault(folderName, new ArrayList<>());
|
||||
|
||||
Reference in new issue
Block a user