public class CurrentUserAtom
extends java.lang.Object
Constructor and Description |
---|
CurrentUserAtom()
Create a new Current User Atom
|
CurrentUserAtom(DirectoryNode dir)
Find the Current User in the filesystem, and create from that
|
Modifier and Type | Method and Description |
---|---|
long |
getCurrentEditOffset()
Points to the UserEditAtom
|
int |
getDocFinalVersion() |
byte |
getDocMajorNo() |
byte |
getDocMinorNo() |
java.lang.String |
getLastEditUsername() |
long |
getReleaseVersion() |
boolean |
isEncrypted() |
void |
setCurrentEditOffset(long id) |
void |
setEncrypted(boolean isEncrypted) |
void |
setLastEditUsername(java.lang.String u) |
void |
setReleaseVersion(long rv) |
void |
writeOut(java.io.OutputStream out)
Writes ourselves back out
|
void |
writeToFS(POIFSFileSystem fs)
Writes ourselves back out to a filesystem
|
public CurrentUserAtom()
public CurrentUserAtom(DirectoryNode dir) throws java.io.IOException
java.io.IOException
public int getDocFinalVersion()
public byte getDocMajorNo()
public byte getDocMinorNo()
public long getReleaseVersion()
public void setReleaseVersion(long rv)
public long getCurrentEditOffset()
public void setCurrentEditOffset(long id)
public java.lang.String getLastEditUsername()
public void setLastEditUsername(java.lang.String u)
public boolean isEncrypted()
public void setEncrypted(boolean isEncrypted)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public void writeToFS(POIFSFileSystem fs) throws java.io.IOException
java.io.IOException
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.