Пример #1
0
 int queryLength(final int id) throws IOException {
   if (mQueryReader == null) {
     return -1;
   } else {
     return mQueryReader.length(id);
   }
 }
Пример #2
0
 int templateLength(final int id) throws IOException {
   if (mTemplateReader == null) {
     return -1;
   } else {
     return mTemplateReader.length(id);
   }
 }