mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
メソッドチェーン対応
This commit is contained in:
parent
28cae3fa19
commit
df14850df1
|
@ -85,6 +85,8 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
||||||
|
|
||||||
logger.info("addNewPageToLast", "finished");
|
logger.info("addNewPageToLast", "finished");
|
||||||
logger.info("addNewPageToLast", "filename: " + filename);
|
logger.info("addNewPageToLast", "filename: " + filename);
|
||||||
|
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -94,6 +96,8 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
||||||
for (Bitmap bitmap : bitmaps) {
|
for (Bitmap bitmap : bitmaps) {
|
||||||
addNewPageToLast(bitmap);
|
addNewPageToLast(bitmap);
|
||||||
} // TODO-rca: 効率悪いので改善する
|
} // TODO-rca: 効率悪いので改善する
|
||||||
|
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -109,16 +113,18 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
||||||
this.documentDetail.getPages().add(index, page);
|
this.documentDetail.getPages().add(index, page);
|
||||||
|
|
||||||
lacertaVcs.insertPage(index, filename);
|
lacertaVcs.insertPage(index, filename);
|
||||||
|
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DocumentProcessor removePageAtIndex(int index) {
|
public DocumentProcessor removePageAtIndex(int index) {
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DocumentProcessor updatePageAtIndex(Bitmap bitmap, int index) {
|
public DocumentProcessor updatePageAtIndex(Bitmap bitmap, int index) {
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user