org.apache.aries.unittest.fixture
Class ArchiveFixture.FileFixture
java.lang.Object
org.apache.aries.unittest.fixture.ArchiveFixture.AbstractFixture
org.apache.aries.unittest.fixture.ArchiveFixture.FileFixture
- All Implemented Interfaces:
- ArchiveFixture.Fixture
- Enclosing class:
- ArchiveFixture
public static class ArchiveFixture.FileFixture
- extends ArchiveFixture.AbstractFixture
Simple fixture for text files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArchiveFixture.FileFixture
protected ArchiveFixture.FileFixture(ArchiveFixture.ZipFixture parent)
line
public ArchiveFixture.FileFixture line(String line)
- Add a line to the file fixture. The EOL character is added automatically.
- Parameters:
line
-
- Returns:
writeOut
public void writeOut(OutputStream out)
throws IOException
- Description copied from interface:
ArchiveFixture.Fixture
- Write the physical representation of the fixture to the given OutputStream
- Throws:
IOException
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.