@Override public List<Bitstream> getNonInternalBitstreams(Context context, Item item) throws SQLException { List<Bitstream> bitstreamList = new ArrayList<>(); // Go through the bundles and bitstreams picking out ones which aren't // of internal formats List<Bundle> bunds = item.getBundles(); for (Bundle bund : bunds) { List<Bitstream> bitstreams = bund.getBitstreams(); for (Bitstream bitstream : bitstreams) { if (!bitstream.getFormat(context).isInternal()) { // Bitstream is not of an internal format bitstreamList.add(bitstream); } } } return bitstreamList; }
if (!bitstreams[k].getFormat().isInternal())
if (dso instanceof Bitstream) { Bitstream bit = (Bitstream) dso; if (bit.getFormat().isInternal()) { dso = null; if (dso instanceof Bitstream) { Bitstream bit = (Bitstream) dso; if (bit.getFormat().isInternal()) { dso = null;
if (!bitstreams[k].getFormat().isInternal())
dc.add(makeDC("format", "mimetype", bsf.getMIMEType())); dc.add(makeDC("format", "supportlevel", bitstreamFormatService.getSupportLevelText(bsf))); dc.add(makeDC("format", "internal", Boolean.toString(bsf.isInternal()))); } else if (dso.getType() == Constants.COLLECTION) { Collection collection = (Collection) dso;
for (int k = 0; k < bundle.getBitstreams().size(); k++) { Bitstream bitstream = bundle.getBitstreams().get(k); if (!bitstream.getFormat(context).isInternal()) {
for (int k = 0; k < bundle.getBitstreams().length; k++) { Bitstream bitstream = bundle.getBitstreams()[k]; if(!bitstream.getFormat().isInternal()){
internalValue = format.isInternal() ? "true" : null;
if (!bitstreams[k].getFormat().isInternal())
String name = format.getShortDescription(); int supportLevel = format.getSupportLevel(); boolean internal = format.isInternal();
if (bitstreamFormat.isInternal())