@Override public void writeBoolean(boolean b) throws IOException { try { getRaf().writeBoolean(b); } catch (IOException ioe) { handleException(); throw ioe; } }
public void writeBoolean(boolean v) throws IOException { delegate.writeBoolean(v); } public void writeByte(int v) throws IOException { delegate.writeByte(v); }
void writeAttribute(AttributeDescriptor ad, Object value) throws IOException { if (value == null) { raf.writeBoolean(true); } else { raf.writeBoolean(false); Class<?> binding = ad.getType().getBinding(); if (binding == Boolean.class) { raf.writeBoolean((Boolean) value); } else if (binding == Byte.class || binding == byte.class) { raf.writeByte((Byte) value);
@Override public void writeBoolean(final boolean v) throws IOException { raf.writeBoolean(v); }
@Override public void writeBoolean(final boolean v) throws IOException { raf.writeBoolean(v); }
@Override public void writeBoolean(boolean v) throws IOException { raf.writeBoolean(v); }
@Override public void writeBoolean(boolean v) throws IOException { raf.writeBoolean(v); }
public void writeBoolean(boolean v) throws IOException { raf.writeBoolean(v); }
@Override public final void writeBoolean(boolean v) throws IOException { randomAccessFile.writeBoolean(v); }
@Override public void writeBoolean(final boolean v) throws IOException { raf.writeBoolean(v); }
@Override public void writeBoolean(final boolean v) throws IOException { raf.writeBoolean(v); }
@Override public void writeBoolean(final boolean v) throws IOException { raf.writeBoolean(v); }
@Override public void writeBoolean(boolean v) throws IOException { raf.writeBoolean(v); }
@Override public void writeBoolean(final boolean v) throws IOException { writer().writeBoolean(v); }
@Override public Bytes writeBoolean(long offset, boolean b) { checkWrite(offset, BOOLEAN); try { seekToOffset(offset); randomAccessFile.writeBoolean(b); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public Bytes writeBoolean(long offset, boolean b) { checkWrite(offset, BOOLEAN); try { seekToOffset(offset); randomAccessFile.writeBoolean(b); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public void writeBoolean(boolean b) throws IOException { try { getRaf().writeBoolean(b); } catch (IOException ioe) { handleException(); throw ioe; } }
@Override public void writeBoolean(boolean b) throws IOException { try { getRaf().writeBoolean(b); } catch (IOException ioe) { handleException(); throw ioe; } }
@Override public void writeBoolean(boolean b) throws IOException { try { getRaf().writeBoolean(b); } catch (IOException ioe) { handleException(); throw ioe; } }
@Test(expected = FileReactiveAuditException.class) public void writeBoolean() throws IOException { ReactiveAudit.off.commit(); try (RandomAccessFile rw = newRandomAccessFile()) { TestTools.strict.commit(); rw.writeBoolean(true); } }